Update scripts/install
This commit is contained in:
parent
f499db9f8f
commit
d49ca3b92f
1 changed files with 8 additions and 0 deletions
|
@ -167,6 +167,14 @@ ynh_config_add_fail2ban --logpath="/var/log/nginx/${domain}-error.log" --failreg
|
|||
### so we're going to use curl to automatically fill the fields and submit the
|
||||
### forms.
|
||||
|
||||
pushd $install_dir
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less 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_warn_less 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
|
||||
popd
|
||||
|
||||
# Installation with curl
|
||||
ynh_script_progression "Finalizing installation..."
|
||||
#ynh_local_curl "/INSTALL_PATH" "key1=value1" "key2=value2" "key3=value3"
|
||||
|
|
Loading…
Reference in a new issue