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:
parent
32f1278557
commit
a471af7744
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue