1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/coin_ynh.git synced 2024-09-03 18:16:26 +02:00

Make migrations during install

This commit is contained in:
Alexandre Aubin 2020-07-01 20:32:30 +02:00
parent 439f605e35
commit 5e928a55cb

View file

@ -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