Ok
This commit is contained in:
parent
784db50f3e
commit
ed1ae6f2c9
17
update
Normal file
17
update
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
echo "Atualizando o Whaticket, por favor aguarde."
|
||||||
|
|
||||||
|
git pull
|
||||||
|
cd backend
|
||||||
|
npm install
|
||||||
|
rm -rf dist
|
||||||
|
npm run build
|
||||||
|
npx sequelize db:migrate
|
||||||
|
npx sequelize db:seed
|
||||||
|
cd ../frontend
|
||||||
|
npm install
|
||||||
|
rm -rf build
|
||||||
|
npm run build
|
||||||
|
pm2 restart all
|
||||||
|
|
||||||
|
echo "Atualização finalizada. Aproveite!"
|
Loading…
x
Reference in New Issue
Block a user