mirror of
https://github.com/YunoHost-Apps/tandoor_ynh.git
synced 2024-09-03 20:35:56 +02:00
fix warnings
This commit is contained in:
parent
c60b5ffbce
commit
73f7ad9b0f
3 changed files with 6 additions and 6 deletions
|
@ -140,17 +140,17 @@ ynh_exec_as $app python3 -m venv "$final_path/venv"
|
|||
|
||||
ynh_script_progression --message="Installing dependencies via pip..." --weight=4
|
||||
pushd "$final_path"
|
||||
ynh_exec_as $app "$final_path/venv/bin/pip3" install -r requirements.txt
|
||||
ynh_exec_warn_less ynh_exec_as $app "$final_path/venv/bin/pip3" install -r requirements.txt
|
||||
popd
|
||||
|
||||
ynh_script_progression --message="Building frontend..." --weight=5
|
||||
pushd "$final_path/vue"
|
||||
ynh_use_nodejs
|
||||
yarn install
|
||||
yarn build
|
||||
ynh_exec_warn_less yarn install
|
||||
ynh_exec_warn_less yarn build
|
||||
popd
|
||||
|
||||
ynh_script_progression --message="Running migrations and generatic static files..." --weight=2
|
||||
ynh_script_progression --message="Running migrations and generating static files..." --weight=2
|
||||
pushd "$final_path"
|
||||
# load environment variables
|
||||
export $(cat "/var/www/$app/.env" |grep "^[^#]" | xargs)
|
||||
|
|
|
@ -115,7 +115,7 @@ ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
|
||||
|
||||
yunohost service add $app --description="A short description of the app" --log="/var/log/$app/$app.log"
|
||||
yunohost service add $app --description="Smart recipe management" --log="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
|
@ -181,7 +181,7 @@ ynh_use_logrotate --non-append
|
|||
#=================================================
|
||||
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
|
||||
|
||||
yunohost service add $app --description="A short description of the app" --log="/var/log/$app/$app.log"
|
||||
yunohost service add $app --description="Smart recipe management" --log="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
Loading…
Add table
Reference in a new issue