Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaskahn committed Sep 18, 2024
1 parent a127611 commit 4650f64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,11 @@

**Before You Start**

> 1. I built these services to docker images, but if you want to build local images, please run `build.local.bat` for **`Windows`** or `build.local.x86.sh` or `build.local.aarch64.sh` for **`MacOS`**, **`Linux`**
> 1. I built these services to docker images, but if you want to build local images, please run `build.local.bat` for **`Windows`** or `build.local.amd64.sh` or `build.local.aarch64.sh` for **`MacOS`**, **`Linux`**
> 2. If you have a GPU (cuda or rocm), please refer **ENV settings** above, change params like above

**Locally**

- Use [local.yaml](compose/local.yaml) compose file to start
- Open `terminal/cmd/powershell` in `asktube` directory

Expand Down
6 changes: 2 additions & 4 deletions build.local.x86.sh → build.local.amd64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,15 @@ echo -e "\nStart to build web . . .\n"
cd web || exit
docker buildx create --use --name bun-builder --node bun-builder0
docker buildx build --platform linux/amd64 --tag ifelsedotone/asktube-web:latest . --load 2>&1 | tee "../$WEB_LOG"
) & # Run in background

) & # Run in background

# Start to build engine and log output
echo -e "\nStart to build engine . . .\n"
(
cd engine || exit
docker buildx create --use --name py3-builder --node py3-builder0
docker buildx build --platform linux/amd64 --tag ifelsedotone/asktube-engine:latest . --load 2>&1 | tee "../$ENGINE_LOG"
) & # Run in background

) & # Run in background

wait

Expand Down

0 comments on commit 4650f64

Please sign in to comment.