first commit
This commit is contained in:
11
scripts/start.sh
Executable file
11
scripts/start.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
set -x
|
||||
|
||||
# Replace the statically built BUILT_NEXT_PUBLIC_WEBAPP_URL with run-time NEXT_PUBLIC_WEBAPP_URL
|
||||
# NOTE: if these values are the same, this will be skipped.
|
||||
scripts/replace-placeholder.sh "$BUILT_NEXT_PUBLIC_WEBAPP_URL" "$NEXT_PUBLIC_WEBAPP_URL"
|
||||
|
||||
scripts/wait-for-it.sh ${DATABASE_HOST} -- echo "database is up"
|
||||
npx prisma migrate deploy --schema /calcom/packages/prisma/schema.prisma
|
||||
npx ts-node --transpile-only /calcom/packages/prisma/seed-app-store.ts
|
||||
yarn start
|
Reference in New Issue
Block a user