Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
rkshaon committed Sep 12, 2024
1 parent 1675418 commit fabfe93
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ echo -e "${YELLOW}=======================================${RESET}"
cd /var/www/bookshelf.rkshaon.info/backend

pwd
sudo su

echo -e "${BLUE}Activating Virtual Environment${RESET}"
echo -e "${YELLOW}=======================================${RESET}"
Expand All @@ -44,10 +43,9 @@ echo -e "${BLUE}Migrating${RESET}"
echo -e "${YELLOW}=======================================${RESET}"
python manage.py migrate

exit

echo -e "${BLUE}Restart Backend Gunicorn Service${RESET}"
echo -e "${YELLOW}=======================================${RESET}"
sudo systemctl restart gunicorn-bookshelf.service
systemctl restart gunicorn-bookshelf.service

echo -e "${RED}Finish${RESET}..."

0 comments on commit fabfe93

Please sign in to comment.