Update scripts/install
This commit is contained in:
parent
29283fa641
commit
9a02b145e2
1 changed files with 5 additions and 5 deletions
|
@ -29,7 +29,7 @@ source /usr/share/yunohost/helpers
|
||||||
ynh_script_progression --message="Installing dependencies..." --weight=7
|
ynh_script_progression --message="Installing dependencies..." --weight=7
|
||||||
|
|
||||||
# Install Nodejs
|
# Install Nodejs
|
||||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=20
|
ynh_exec ynh_install_nodejs --nodejs_version=20
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INITIALIZE AND STORE SETTINGS
|
# INITIALIZE AND STORE SETTINGS
|
||||||
|
@ -174,10 +174,10 @@ ynh_config_add_logrotate
|
||||||
|
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install
|
ynh_exec sudo -u $app env $ynh_node_load_PATH yarn install
|
||||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH workspace @chibisafe/backend generate
|
ynh_exec sudo -u $app env $ynh_node_load_PATH workspace @chibisafe/backend generate
|
||||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH workspace @chibisafe/backend migrate
|
ynh_exec sudo -u $app env $ynh_node_load_PATH workspace @chibisafe/backend migrate
|
||||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn build
|
ynh_exec sudo -u $app env $ynh_node_load_PATH yarn build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Installation with curl
|
# Installation with curl
|
||||||
|
|
Loading…
Reference in a new issue