From 5e928a55cbfc766d594f9d961ff25dca42a6e2c0 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 1 Jul 2020 20:32:30 +0200 Subject: [PATCH] Make migrations during install --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index e5e1341..4d34375 100644 --- a/scripts/install +++ b/scripts/install @@ -143,6 +143,7 @@ ln -s $final_path/$app/static $final_path/static chown -R $app:www-data $final_path pushd $final_path +$final_path/venv/bin/python manage.py makemigrations --noinput $final_path/venv/bin/python manage.py migrate --noinput $final_path/venv/bin/python manage.py collectstatic --noinput popd