1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fider_ynh.git synced 2024-09-03 18:36:11 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-06-10 17:49:39 +02:00 committed by Salamandar
parent 32f1278557
commit a471af7744

View file

@ -13,9 +13,11 @@ source /usr/share/yunohost/helpers
# INSTALL DEPENDENCIES # INSTALL DEPENDENCIES
#================================================= #=================================================
ynh_script_progression --message="Installing Go Lang..." --weight=1 ynh_script_progression --message="Installing Go Lang..." --weight=1
install_golang_from_backports install_golang_from_backports
ynh_script_progression --message="Installing Node JS..." --weight=1 ynh_script_progression --message="Installing Node JS..." --weight=1
ynh_install_nodejs --nodejs_version=$nodejs_version ynh_install_nodejs --nodejs_version=$nodejs_version
#================================================= #=================================================
@ -51,6 +53,7 @@ ynh_add_nginx_config
# ADD A CONFIGURATION # ADD A CONFIGURATION
#================================================= #=================================================
ynh_script_progression --message="Adding the configuration file..." --weight=1 ynh_script_progression --message="Adding the configuration file..." --weight=1
secret=$(ynh_string_random --length 64) secret=$(ynh_string_random --length 64)
ynh_app_setting_set --app=$app --key=secret --value=$secret ynh_app_setting_set --app=$app --key=secret --value=$secret