mirror of
https://github.com/YunoHost-Apps/tandoor_ynh.git
synced 2024-09-03 20:35:56 +02:00
upgrade py deps
This commit is contained in:
parent
b99d1e3d68
commit
11b8a8dfd6
1 changed files with 5 additions and 0 deletions
|
@ -127,6 +127,11 @@ chown $app:$app "$final_path/recipes/version.py"
|
|||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
|
||||
ynh_script_progression --message="Upgrading dependencies via pip..." --weight=4
|
||||
pushd "$final_path"
|
||||
ynh_exec_warn_less ynh_exec_as $app "$final_path/venv/bin/pip3" install -r requirements.txt
|
||||
popd
|
||||
|
||||
ynh_script_progression --message="Running migrations and generatic static files..." --weight=2
|
||||
pushd "$final_path"
|
||||
# load environment variables
|
||||
|
|
Loading…
Reference in a new issue