mirror of
https://github.com/YunoHost-Apps/snserver_ynh.git
synced 2024-09-03 20:26:22 +02:00
commit
426dd68db7
5 changed files with 15 additions and 15 deletions
|
@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
The Standard Notes syncing server. An end-to-end encrypted note-taking app.
|
||||
|
||||
**Shipped version:** 2021.07.24~ynh2
|
||||
**Shipped version:** 2021.07.24~ynh3
|
||||
|
||||
**Demo:** https://standardnotes.org/demo
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
|
||||
|
||||
|
||||
**Version incluse :** 2021.07.24~ynh2
|
||||
**Version incluse :** 2021.07.24~ynh3
|
||||
|
||||
**Démo :** https://standardnotes.org/demo
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"description": {
|
||||
"en": "The Standard Notes syncing server. An end-to-end encrypted note-taking app."
|
||||
},
|
||||
"version": "2021.07.24~ynh2",
|
||||
"version": "2021.07.24~ynh3",
|
||||
"url": "https://github.com/standardnotes/standalone",
|
||||
"upstream": {
|
||||
"license": "AGPL-3.0-or-later",
|
||||
|
|
|
@ -200,18 +200,18 @@ ynh_script_progression --message="Installing Standard Notes - Syncing Server..."
|
|||
ynh_use_nodejs
|
||||
pushd "$final_path/live/syncing-server-js"
|
||||
ynh_print_info "Installing ... [1/3]"
|
||||
ynh_exec_as $app env PATH=$ynh_node_load_PATH yarn install --pure-lockfile
|
||||
ynh_exec_as $app env PATH=$ynh_node_load_PATH yarn build
|
||||
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=4096" PATH=$ynh_node_load_PATH yarn install --pure-lockfile
|
||||
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=4096" PATH=$ynh_node_load_PATH yarn build
|
||||
popd
|
||||
pushd "$final_path/live/auth"
|
||||
ynh_print_info "Installing ... [2/3]"
|
||||
ynh_exec_as $app env PATH=$ynh_node_load_PATH yarn install --pure-lockfile
|
||||
ynh_exec_as $app env PATH=$ynh_node_load_PATH yarn build
|
||||
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=4096" PATH=$ynh_node_load_PATH yarn install --pure-lockfile
|
||||
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=4096" PATH=$ynh_node_load_PATH yarn build
|
||||
popd
|
||||
pushd "$final_path/live/api-gateway"
|
||||
ynh_print_info "Installing ... [3/3]"
|
||||
ynh_exec_as $app env PATH=$ynh_node_load_PATH yarn install --pure-lockfile
|
||||
ynh_exec_as $app env PATH=$ynh_node_load_PATH yarn build
|
||||
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=4096" PATH=$ynh_node_load_PATH yarn install --pure-lockfile
|
||||
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=4096" PATH=$ynh_node_load_PATH yarn build
|
||||
popd
|
||||
#=================================================
|
||||
# INSTALLING Standard Notes - Extensions
|
||||
|
|
|
@ -402,24 +402,24 @@ then
|
|||
if [[ "$syncing_server_js_version_installed" < "$syncing_server_js_version" ]]
|
||||
then
|
||||
pushd "$final_path/live/syncing-server-js"
|
||||
ynh_exec_as $app env PATH=$ynh_node_load_PATH yarn install --pure-lockfile
|
||||
ynh_exec_as $app env PATH=$ynh_node_load_PATH yarn build
|
||||
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=4096" PATH=$ynh_node_load_PATH yarn install --pure-lockfile
|
||||
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=4096" PATH=$ynh_node_load_PATH yarn build
|
||||
popd
|
||||
ynh_app_setting_set --app=$app --key=syncing_server_js_version --value=$syncing_server_js_version
|
||||
fi
|
||||
if [[ "$auth_version_installed" < "$auth_version" ]]
|
||||
then
|
||||
pushd "$final_path/live/auth"
|
||||
ynh_exec_as $app env PATH=$ynh_node_load_PATH yarn install --pure-lockfile
|
||||
ynh_exec_as $app env PATH=$ynh_node_load_PATH yarn build
|
||||
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=4096" PATH=$ynh_node_load_PATH yarn install --pure-lockfile
|
||||
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=4096" PATH=$ynh_node_load_PATH yarn build
|
||||
popd
|
||||
ynh_app_setting_set --app=$app --key=auth_version --value=$auth_version
|
||||
fi
|
||||
if [[ "$api_gateway_version_installed" < "$api_gateway_version" ]]
|
||||
then
|
||||
pushd "$final_path/live/api-gateway"
|
||||
ynh_exec_as $app env PATH=$ynh_node_load_PATH yarn install --pure-lockfile
|
||||
ynh_exec_as $app env PATH=$ynh_node_load_PATH yarn build
|
||||
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=4096" PATH=$ynh_node_load_PATH yarn install --pure-lockfile
|
||||
ynh_exec_as $app env NODE_OPTIONS="--max-old-space-size=4096" PATH=$ynh_node_load_PATH yarn build
|
||||
popd
|
||||
ynh_app_setting_set --app=$app --key=api_gateway_version --value=$api_gateway_version
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue