use prebuild docker image

This commit is contained in:
fiatrete
2023-06-12 18:35:52 +08:00
parent 126327a152
commit 70274cfae0
+4 -4
View File
@@ -17,9 +17,9 @@ Follow the code below:
```bash ```bash
# Assuming your current workding directory is ${project_root}, i.e., the directory containing this README.md file. # Assuming your current workding directory is ${project_root}, i.e., the directory containing this README.md file.
# Build our docker image. # Pull the docker image
# NOTE: You may need root privilege, if your docker daemon only allows root. # NOTE: You may need root privilege, if your docker daemon only allows root.
bash build_docker.sh docker pull fiatrete/jarvis
# Create our workspace and enter # Create our workspace and enter
mkdir -p docker/jarvis mkdir -p docker/jarvis
@@ -40,7 +40,7 @@ vim jarvis/.env
docker run --name jarvis --rm \ docker run --name jarvis --rm \
-p 10000:10000 \ -p 10000:10000 \
-v `pwd`/jarvis/.env:/root/.env \ -v `pwd`/jarvis/.env:/root/.env \
jarvis:latest fiatrete/jarvis:latest
``` ```
@@ -168,7 +168,7 @@ If your issue is not listed above or you have any questions. **Feel free to open
3. In your app detail page, navigate to `Settings -> User authentication settings -> Edit`. 3. In your app detail page, navigate to `Settings -> User authentication settings -> Edit`.
4. Select `Read and write` in `App permissions` table. 4. Select `Read and write` in `App permissions` table.
5. Navigate to `Keys and Tokens` tab. 5. Navigate to `Keys and Tokens` tab.
6. Create a `API Key and Secret(Consumer Keys)` and a `Access Token and Secret`. 6. Create an `API Key and Secret(Consumer Keys)` and an `Access Token and Secret`.
**NOTE: You must select `Read and write` first, then create keys. If the keys were created first, you will have to recreate the keys again.** **NOTE: You must select `Read and write` first, then create keys. If the keys were created first, you will have to recreate the keys again.**