blob: d78a9a5ef4e073f04036c7ac97046b688eddea39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Get started with the CLI
## Create a new project
Create a new folder for your project, `my-project`. Change into it, and set `AMCS_CONTENT` to the folder that should store your content.
```
mkdir -p my-project
cd my-project
export ACMS_CONTENT=$PWD/content
```
## Create a restaurant collection
```
acms collection insert restaurant/1.json <<'EOF'
{
"name": "Biscotte Restaurant",
"description": "Welcome to Biscotte restaurant! Restaurant Biscotte offers a cuisine based on fresh, quality products, often local, organic when possible, and always produced by passionate producers."
}
EOF
```
|