Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Bird committed Jun 5, 2024
1 parent 783d2f2 commit 8f6cfc8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions deploy/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ npm run build
cd /home/eaa/donation_portal
workon donation_portal
# Activate the virtual environment
source /home/eaa/.virtualenvs/donation_portal/bin/activate
echo "Collecting staticfiles."
./manage.py collectstatic
./manage.py collectstatic --noinput
echo "Migrating db."
./manage.py migrate
Expand All @@ -29,4 +30,4 @@ EOF
echo "Restarting service."
sudo supervisorctl restart donations:

echo "Deployment completed successfully."
echo "Deployment completed successfully."

0 comments on commit 8f6cfc8

Please sign in to comment.