set -e | |
cd packages/backend | |
if [ -n "$WORKER" ]; then | |
yarn start:worker | |
else | |
yarn db:migrate | |
yarn db:seed:user | |
yarn start | |
fi | |
set -e | |
cd packages/backend | |
if [ -n "$WORKER" ]; then | |
yarn start:worker | |
else | |
yarn db:migrate | |
yarn db:seed:user | |
yarn start | |
fi | |