Skip to content

Commit

Permalink
Update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed May 20, 2022
1 parent b067623 commit 37bfc33
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 28 deletions.
5 changes: 3 additions & 2 deletions __scripts/bc-deploy-api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ git pull
chmod +x -R /opt/bookcars/__scripts

cd /opt/bookcars/api
npm install
npm update
#npm install
#npm update
npm ci
sudo systemctl restart bookcars
sudo systemctl status bookcars --no-pager

Expand Down
5 changes: 3 additions & 2 deletions __scripts/bc-deploy-backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ sudo chmod +x -R /opt/bookcars/__scripts

cd /opt/bookcars/backend
sudo rm -rf build
npm install
npm update
#npm install
#npm update
npm ci
npm run build

sudo systemctl restart bookcars-backend
Expand Down
5 changes: 3 additions & 2 deletions __scripts/bc-deploy-frontend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ sudo chmod +x -R /opt/bookcars/__scripts

cd /opt/bookcars/frontend
sudo rm -rf build
npm install
npm update
#npm install
#npm update
npm ci
npm run build

#sudo systemctl restart bookcars-frontend
Expand Down
86 changes: 64 additions & 22 deletions backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 37bfc33

Please sign in to comment.