Files
FloatApi/scripts/start.sh
T
2022-03-07 22:07:57 +07:00

11 lines
167 B
Bash
Executable File

#!/bin/sh
if [ "$NODE_ENV" == "production" ] ; then
npm run start
else
npx sequelize db:migrate
npx sequelize db:seed:all
npm run test
npm run start:dev
fi