mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 08:38:34 +00:00
docs: update build guideline (#2434)
Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
@@ -31,13 +31,13 @@ nvm use 18
|
||||
|
||||
## Setup Environment
|
||||
|
||||
This setup requires modern yarn (currently `3.5.0`), run this if your yarn version is `1.x`
|
||||
This setup requires modern yarn (currently `3.x`), run this if your yarn version is `1.x`
|
||||
|
||||
Reference: [Yarn installation doc](https://yarnpkg.com/getting-started/install)
|
||||
|
||||
```sh
|
||||
corepack enable
|
||||
corepack prepare yarn@3.5.0 --activate
|
||||
corepack prepare yarn@stable --activate
|
||||
```
|
||||
|
||||
```sh
|
||||
@@ -52,7 +52,7 @@ yarn install
|
||||
```shell
|
||||
# Run OctoBase container in background
|
||||
docker pull ghcr.io/toeverything/cloud-self-hosted:nightly-latest
|
||||
docker run --env=SIGN_KEY=test123 --env=RUST_LOG=debug --env=JWST_DEV=1 --env=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --workdir=/app -p 3000:3000 --runtime=runc -d ghcr.io/toeverything/cloud-self-hosted:nightly-latest
|
||||
docker run --env=SIGN_KEY=test123 --env=RUST_LOG=debug --env=JWST_DEV=1 --env=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --workdir=/app -p 127.0.0.1:3000:3000 --runtime=runc -d ghcr.io/toeverything/cloud-self-hosted:nightly-latest
|
||||
```
|
||||
|
||||
```shell
|
||||
|
||||
Reference in New Issue
Block a user