This commit is contained in:
Leandro Palmeira 2025-03-17 13:45:00 -03:00
parent 784db50f3e
commit ed1ae6f2c9

17
update Normal file
View 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!"