Skip to content

Commit

Permalink
Swapping the order of creating env and creating property.json
Browse files Browse the repository at this point in the history
  • Loading branch information
cyfyifanchen committed Aug 6, 2024
1 parent 5a82338 commit 5f81393
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,12 @@ You will need to uncheck "Use Rosetta for x86_64/amd64 emulation on apple silico
#### 1. Prepare config files
In the root of the project, create these files from the examples. They will be used to store information for Docker Compose later.
```bash
# Create property.json from the example
# Create .env from the example file
cp ./.env.example ./.env

# Create property.json from the example file
cp ./agents/property.json.example ./agents/property.json

# Create .env from the example
cp ./.env.example ./.env
```

#### 2. Setup API keys & Environment variables in .env file
Expand Down
5 changes: 3 additions & 2 deletions docs/readmes/README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,12 @@ $ go env -w GOPROXY=https://goproxy.cn,direct
#### 1. 准备设置文件
Clone 项目后,在根目录下跑下面的命创建 `property.json``.env`:
```bash
# 创建 .env 文件
cp ./.env.example ./.env

# 创建 property.json 文件
cp ./agents/property.json.example ./agents/property.json

# 创建 .env 文件
cp ./.env.example ./.env
```

#### 2. 绑定积木的 keys
Expand Down

0 comments on commit 5f81393

Please sign in to comment.