docs: update manual install to include code update
This commit is contained in:
parent
791141ee5a
commit
2cc098a5f1
@ -59,6 +59,22 @@ pm2 start ./dist/src/server/main.js --name tianji
|
||||
|
||||
Default, `Tianji` will run on http://localhost:12345
|
||||
|
||||
## Update Code to new Version
|
||||
|
||||
```bash
|
||||
# Checkout new release/tags
|
||||
cd tianji
|
||||
git fetch --tags
|
||||
git checkout -q <version>
|
||||
|
||||
# run db migrations
|
||||
cd src/server
|
||||
pnpm db:migrate:apply
|
||||
|
||||
# Restart Server
|
||||
pm2 restart tianji
|
||||
```
|
||||
|
||||
# Frequently Asked Questions
|
||||
|
||||
## Install `isolated-vm` failed
|
||||
|
Loading…
Reference in New Issue
Block a user