Initial commit — eLegal Software monorepo
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
# Run inside the Plesk app directory after `git pull`.
|
||||
# Configure as a Plesk "Run script" hook on Git push, or run manually via SSH.
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
echo "==> Installing dependencies"
|
||||
pnpm install --frozen-lockfile
|
||||
|
||||
echo "==> Building"
|
||||
pnpm build
|
||||
|
||||
echo "==> Running database migrations"
|
||||
pnpm db:migrate
|
||||
|
||||
echo "==> Restarting Passenger"
|
||||
mkdir -p tmp
|
||||
touch tmp/restart.txt
|
||||
|
||||
echo "==> Done"
|
||||
Reference in New Issue
Block a user