Add DATABASE_URL to snowshare-install.sh

This commit is contained in:
Romain PINSOLLE 2025-11-03 18:23:29 +01:00 committed by GitHub
parent 300c235683
commit 9b811aed38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,6 +44,7 @@ NEXTAUTH_SECRET="$(openssl rand -base64 32)"
ALLOW_SIGNUP=true
NODE_ENV=production
EOF
DATABASE_URL="postgresql://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME"
$STD npx prisma generate
$STD npx prisma migrate deploy
$STD npm run build