mirror of
https://github.com/YunoHost-Apps/outline_ynh.git
synced 2024-09-03 19:56:12 +02:00
update install
This commit is contained in:
parent
fd155de2cb
commit
470604976e
2 changed files with 3 additions and 2 deletions
|
@ -217,8 +217,9 @@ ynh_add_nginx_config
|
|||
|
||||
pushd "$final_path"
|
||||
ynh_use_nodejs
|
||||
export NODE_OPTIONS=--max_old_space_size=1024
|
||||
ynh_script_progression --message="Fetching Yarn production dependencies... This can be very long, be patient !" --weight=18
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --production=true --frozen-lockfile --network-timeout 1000000000 2>&1
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --frozen-lockfile --network-timeout 1000000000 2>&1
|
||||
ynh_script_progression --message="Cleaning cache... " --weight=3
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn cache clean 2>&1
|
||||
ynh_script_progression --message="Building... This can be very long, be patient !" --weight=18
|
||||
|
|
|
@ -137,7 +137,7 @@ pushd "$final_path"
|
|||
ynh_use_nodejs
|
||||
export NODE_OPTIONS=--max_old_space_size=1024
|
||||
ynh_script_progression --message="Fetching Yarn production dependencies... This can be very long, be patient !" --weight=18
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --production=true --frozen-lockfile --network-timeout 1000000000 2>&1
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --frozen-lockfile --network-timeout 1000000000 2>&1
|
||||
ynh_script_progression --message="Cleaning cache... " --weight=3
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn cache clean 2>&1
|
||||
ynh_script_progression --message="Building... This can be very long, be patient !" --weight=18
|
||||
|
|
Loading…
Reference in a new issue