mirror of
https://github.com/YunoHost-Apps/hedgedoc_ynh.git
synced 2024-09-03 19:25:52 +02:00
parent
59a5760c9c
commit
e19fa6783b
3 changed files with 4 additions and 6 deletions
|
@ -17,13 +17,13 @@ admindoc = "https://docs.hedgedoc.org/"
|
|||
code = "https://github.com/hedgedoc/hedgedoc"
|
||||
|
||||
[integration]
|
||||
yunohost = ">= 11.1.19"
|
||||
yunohost = ">= 11.1.21"
|
||||
architectures = "all"
|
||||
multi_instance = true
|
||||
ldap = true
|
||||
sso = true
|
||||
disk = "50M"
|
||||
ram.build = "2500M"
|
||||
ram.build = "900M"
|
||||
ram.runtime = "50M"
|
||||
|
||||
[install]
|
||||
|
|
|
@ -68,8 +68,7 @@ ynh_script_progression --message="Building HedgeDoc... (this will take some time
|
|||
|
||||
pushd "$install_dir"
|
||||
ynh_use_nodejs
|
||||
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
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn workspaces focus --production
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -93,8 +93,7 @@ then
|
|||
pushd "$install_dir"
|
||||
ynh_secure_remove /usr/local/share/.cache/yarn
|
||||
ynh_use_nodejs
|
||||
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
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn workspaces focus --production
|
||||
popd
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue