diff --git a/website/docs/install/manual.md b/website/docs/install/manual.md index 87c955e..002065d 100644 --- a/website/docs/install/manual.md +++ b/website/docs/install/manual.md @@ -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 + +# run db migrations +cd src/server +pnpm db:migrate:apply + +# Restart Server +pm2 restart tianji +``` + # Frequently Asked Questions ## Install `isolated-vm` failed