docs: update manual install to include code update

This commit is contained in:
1Luc1 2024-08-23 09:19:31 +02:00 committed by moonrailgun
parent 791141ee5a
commit 2cc098a5f1

View File

@ -59,6 +59,22 @@ pm2 start ./dist/src/server/main.js --name tianji
Default, `Tianji` will run on http://localhost:12345 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 # Frequently Asked Questions
## Install `isolated-vm` failed ## Install `isolated-vm` failed