Realistically a big thing that I can skip is build...
# docker
l
Realistically a big thing that I can skip is building the app in production and even git pulling on the target if there are some details satisfied. 1. @Peer or someone gives consent to allow the software to be packaged in the docker container. 2. Also, if the app can be confirmed whether or not it needs to be built next to the production Postgres database or not. 3. Finally just need to figure out the tidbit I'm missing to get the Cal service started.
Copy code
function basic_start() {
  cd $APP_PATH
  echo "Waiting for a healthy Postgres server connection prior to booting."
  wait-for-it.sh $DATABASE_HOST -- echo "database is up"
  npx prisma migrate deploy --schema $APP_PATH/packages/prisma/schema.prisma
  npx ts-node --transpile-only $APP_PATH/packages/prisma/seed-app-store.ts
  echo "Final systems checks cleared and are go for launch."
  yarn start
}