Add DATABASE_URL to snowshare-install.sh
This commit is contained in:
parent
300c235683
commit
9b811aed38
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user