mirror of
https://github.com/YunoHost-Apps/hedgedoc_ynh.git
synced 2024-09-03 19:25:52 +02:00
Update install
This commit is contained in:
parent
642fdfe991
commit
7fbdf805f7
1 changed files with 14 additions and 0 deletions
|
@ -62,6 +62,20 @@ ynh_add_systemd_config
|
||||||
|
|
||||||
yunohost service add $app --description="Collaborative Markdown editor" --log="/var/log/$app/$app.log"
|
yunohost service add $app --description="Collaborative Markdown editor" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# SPECIFIC SETUP
|
||||||
|
#==============================================
|
||||||
|
# INSTALL HEDGEDOC
|
||||||
|
#==============================================
|
||||||
|
ynh_script_progression --message="Building HedgeDoc... (this will take some time and resources!)" --weight=20
|
||||||
|
|
||||||
|
pushd "$final_path"
|
||||||
|
ynh_use_nodejs
|
||||||
|
#ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn cache clean
|
||||||
|
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --frozen-lockfile
|
||||||
|
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn build
|
||||||
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY A CONFIG FILE
|
# MODIFY A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue