1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/luckysheet_ynh.git synced 2024-09-03 19:36:21 +02:00

Update install

This commit is contained in:
Éric Gaspar 2022-06-14 22:43:50 +02:00
parent 7f843f2891
commit 2dc1a8fc98
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -97,19 +97,6 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=2
# Create a dedicated NGINX config
ynh_add_nginx_config
#=================================================
# SPECIFIC SETUP
#==============================================
# INSTALL HEDGEDOC
#==============================================
ynh_script_progression --message="Building Luckysheet... (this will take some time and resources!)" --weight=20
pushd $final_path
ynh_use_nodejs
npm install
npm install gulp --location=global
popd
#=================================================
# MODIFY A CONFIG FILE
#=================================================
@ -120,6 +107,20 @@ ynh_add_config --template="../conf/config.example.js" --destination="$final_path
chmod 400 "$final_path/src/config.js"
chown $app:$app "$final_path/src/config.js"
#=================================================
# SPECIFIC SETUP
#==============================================
# INSTALL HEDGEDOC
#==============================================
ynh_script_progression --message="Building Luckysheet... (this will take some time and resources!)" --weight=20
pushd $final_path
ynh_use_nodejs
npm install npm@latest --location=global
ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install
ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install gulp --location=global
popd
#=================================================
# SETUP SYSTEMD
#=================================================