mirror of
https://github.com/YunoHost-Apps/django-for-runners_ynh.git
synced 2024-09-03 18:26:16 +02:00
use generic descriptions
This commit is contained in:
parent
478b7d1a6e
commit
7b5d642437
2 changed files with 5 additions and 6 deletions
|
@ -101,7 +101,7 @@ ynh_system_user_create --username="$app" --home_dir="$final_path" --use_shell
|
||||||
#=================================================
|
#=================================================
|
||||||
# PIP INSTALLATION
|
# PIP INSTALLATION
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Install Django-For-Runners using PIP..." --weight=80
|
ynh_script_progression --message="Install project via pip..." --weight=80
|
||||||
|
|
||||||
python3 -m venv "${final_path}/venv"
|
python3 -m venv "${final_path}/venv"
|
||||||
chown -R "$app" "$final_path"
|
chown -R "$app" "$final_path"
|
||||||
|
@ -231,7 +231,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# Start django-for-runners via systemd
|
# Start pyinventory via systemd
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Starting Django-For-Runners's services..." --weight=5
|
ynh_script_progression --message="Starting Django-For-Runners's services..." --weight=5
|
||||||
|
|
||||||
|
|
|
@ -83,10 +83,9 @@ ynh_script_progression --message="Configuring a systemd service..."
|
||||||
ynh_add_systemd_config --service="$app" --template="for_runners.service"
|
ynh_add_systemd_config --service="$app" --template="for_runners.service"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPGRADE PYINVENTORY
|
# UPGRADE VENV
|
||||||
#=================================================
|
#=================================================
|
||||||
|
ynh_script_progression --message="Upgrade project via pip..." --weight=80
|
||||||
ynh_script_progression --message="Install django-for-runners using PIP..." --weight=15
|
|
||||||
|
|
||||||
python3 -m venv "${final_path}/venv"
|
python3 -m venv "${final_path}/venv"
|
||||||
chown -R "$app" "$final_path"
|
chown -R "$app" "$final_path"
|
||||||
|
@ -199,7 +198,7 @@ chown -R "$app" "$public_path"
|
||||||
chown -R "$app" "$final_path"
|
chown -R "$app" "$final_path"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# Start django-for-runners via systemd
|
# Start pyinventory via systemd
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Starting Django-For-Runners's services..." --weight=5
|
ynh_script_progression --message="Starting Django-For-Runners's services..." --weight=5
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue