mirror of
https://github.com/YunoHost-Apps/chitchatter_ynh.git
synced 2024-09-03 18:15:59 +02:00
Update install
This commit is contained in:
parent
8a8a34fdc0
commit
d5bd1a9b26
1 changed files with 4 additions and 5 deletions
|
@ -39,11 +39,10 @@ ynh_add_nginx_config
|
|||
#=================================================
|
||||
ynh_script_progression --message="Configuring the app..." --weight=10
|
||||
|
||||
pushd $install_dir
|
||||
pushd "$install_dir"
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less $ynh_npm install -g npm@latest serve
|
||||
ynh_exec_warn_less $ynh_npm install
|
||||
ynh_exec_warn_less $ynh_npm run build
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm run build
|
||||
popd
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
|
|
Loading…
Reference in a new issue