1
0
Fork 0
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:
navanchauhan 2022-12-27 13:40:50 -05:00
parent b99d1e3d68
commit 11b8a8dfd6

View file

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