1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hedgedoc_ynh.git synced 2024-09-03 19:25:52 +02:00
* Update install

* cleaning

* Update manifest.toml
This commit is contained in:
Éric Gaspar 2023-07-01 14:21:21 +02:00 committed by GitHub
parent 59a5760c9c
commit e19fa6783b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 6 deletions

View file

@ -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]

View file

@ -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
#=================================================

View file

@ -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