Skip to content

Commit

Permalink
update.sh run manage.py migrate as root
Browse files Browse the repository at this point in the history
  • Loading branch information
neoformit committed Oct 3, 2024
1 parent d8114dd commit 02d976a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cd {{ django_root }}
python manage.py collectstatic --noinput

# Migrate the database (if necessary)
sudo -u www-data python manage.py migrate
python manage.py migrate

# Update file ownership to allow www-data to write logs/media
chown -R www-data:www-data webapp/logs
Expand Down

0 comments on commit 02d976a

Please sign in to comment.