Skip to content

Commit

Permalink
2024/08/30 Fixed wrong command arguments and wrong file name in Docke…
Browse files Browse the repository at this point in the history
…r CLI Tutorial Part (#174)
  • Loading branch information
Kayxue authored Sep 12, 2024
1 parent 4ff7345 commit 47fa008
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions README.en-us.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ docker pull ghcr.io/nat1anwastaken/lava:latest
}
```

3. Create `stac.env` file, and fill in the following
3. Create `stack.env` file, and fill in the following
```env
TOKEN=Bot Token
SPOTIFY_CLIENT_ID=Spotify client id
Expand All @@ -134,9 +134,11 @@ SPOTIFY_CLIENT_SECRET=Spotify client secret
4. Start to bot
```bash
docker run -it \
--name ghcr.io/nat1anwastaken/lava:latest \
--name lava \
--volume "./configs:/app/configs" \
--env-file stack.env \
--restart unless-stopped \
lava
ghcr.io/nat1anwastaken/lava:latest
```


Expand Down
8 changes: 5 additions & 3 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ docker pull ghcr.io/nat1anwastaken/lava:latest
}
```

3. 創建一個 `stac.env` 檔案,並填入以下內容
3. 創建一個 `stack.env` 檔案,並填入以下內容
```env
TOKEN=機器人 Token
SPOTIFY_CLIENT_ID=Spotify client id
Expand All @@ -142,9 +142,11 @@ SPOTIFY_CLIENT_SECRET=Spotify client secret
4. 啟動機器人
```bash
docker run -it \
--name ghcr.io/nat1anwastaken/lava:latest \
--name lava \
--volume "./configs:/app/configs" \
--env-file stack.env \
--restart unless-stopped \
lava
ghcr.io/nat1anwastaken/lava:latest
```

</details>
Expand Down

0 comments on commit 47fa008

Please sign in to comment.