1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fittrackee_ynh.git synced 2024-09-03 18:36:16 +02:00
This commit is contained in:
oufmilo 2023-02-06 10:54:01 +01:00
parent 3e7bfebec9
commit dd0e012182

View file

@ -109,11 +109,12 @@ ynh_script_progression --message="Upgrading database..." --weight=1
pushd "$final_path"
docker-compose build
$final_path/venv/bin/python3 "$final_path/manage.py" migrate
$final_path/venv/bin/python3 "$final_path/manage.py" collectstatic --no-input
$final_path/venv/bin/python3 "$final_path/manage.py" populate_streams
docker-compose run --rm web python manage.py migrate
docker-compose run --rm web python manage.py compile_themes
docker-compose run --rm web python manage.py collectstatic --no-input
docker-compose down
docker-compose up -d
docker-compose run --rm web python manage.py populate_streams
popd
#=================================================