mirror of
https://github.com/YunoHost-Apps/sutom_ynh.git
synced 2024-09-03 20:26:15 +02:00
Merge pull request #3 from fflorent/install-prod
Install node app in production mode
This commit is contained in:
commit
0bfdd60dcd
2 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ ynh_script_progression --message="Building Sutom... (this will take some time an
|
|||
pushd "$final_path"
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less npm i -g npm
|
||||
ynh_exec_warn_less npm install
|
||||
ynh_exec_warn_less npm install --production
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -114,7 +114,7 @@ ynh_script_progression --message="Building Sutom... (this will take some time an
|
|||
pushd "$final_path"
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less npm i -g npm
|
||||
ynh_exec_warn_less npm install
|
||||
ynh_exec_warn_less npm install --production
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue