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:
parent
7f843f2891
commit
2dc1a8fc98
1 changed files with 14 additions and 13 deletions
|
@ -97,19 +97,6 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=2
|
||||||
# Create a dedicated NGINX config
|
# Create a dedicated NGINX config
|
||||||
ynh_add_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
|
# 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"
|
chmod 400 "$final_path/src/config.js"
|
||||||
chown $app:$app "$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
|
# SETUP SYSTEMD
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue