π
Updating
Update Process
1. Pull the Latest Changes
git pull origin main
For the development branch:
git pull origin dev
2. Update Dependencies
pnpm install
3. Apply Database Changes
If the schema has changed:
pnpm db:generate
pnpm db:migrate
Tip: Check the changelog page or commit messages to see if schema changes are included. If not, you can skip this step.
4. Rebuild (Production)
pnpm build
5. Restart the Server
In development mode:
pnpm dev
In production:
node packages/server/dist/index.js
Versioning
The version is defined in two places and must be kept in sync:
package.json(root) βversionfieldpackages/shared/src/constants/index.tsβAPP_VERSIONconstant
The version is displayed in the footer (AppLayout) and on the Impressum page.
Checklist
-
git pull origin main -
pnpm install -
pnpm db:generate(if schema changed) -
pnpm db:migrate(if schema changed) -
pnpm build(for production) - Restart the server