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:30:45 +01:00
parent 52745ff463
commit 202b5e63c5
2 changed files with 7 additions and 4 deletions

View file

@ -5,7 +5,7 @@
#=================================================
# dependencies used by the app
pkg_dependencies="postgresql postgresql-contrib python3-venv libpq-dev"
pkg_dependencies="postgresql postgresql-contrib python3-venv libpq-dev docker-compose"
#=================================================
# PERSONAL HELPERS

View file

@ -107,9 +107,12 @@ $final_path/venv/bin/pip3 install -r "$final_path/requirements.txt"
#=================================================
ynh_script_progression --message="Upgrading database..." --weight=1
$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
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
popd
#=================================================
# SET PERMISSIONS ON BOOKWYRM DIRECTORY