Skip to content

Commit

Permalink
feat: added rebuild script
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanTilgner committed Jul 1, 2023
1 parent f26c7dc commit 9a4e33e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions scripts/rebuild.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

# Pull from the GitHub repository
git pull

# Install dependencies using pnpm
pnpm i

# Build the client using npm
npm run build

# Run migrations using npm
npm run migrations:run

# Restart the server using pm2
pm2 restart pm2.config.cjs

0 comments on commit 9a4e33e

Please sign in to comment.