init source
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user