mirror of
https://github.com/YunoHost-Apps/fittrackee_ynh.git
synced 2024-09-03 18:36:16 +02:00
Test
This commit is contained in:
parent
52745ff463
commit
202b5e63c5
2 changed files with 7 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue