1
0
Fork 0
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:
Éric Gaspar 2022-01-31 23:04:58 +01:00 committed by GitHub
commit 0bfdd60dcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -111,7 +111,7 @@ ynh_script_progression --message="Building Sutom... (this will take some time an
pushd "$final_path" pushd "$final_path"
ynh_use_nodejs ynh_use_nodejs
ynh_exec_warn_less npm i -g npm ynh_exec_warn_less npm i -g npm
ynh_exec_warn_less npm install ynh_exec_warn_less npm install --production
popd popd
#================================================= #=================================================

View file

@ -114,7 +114,7 @@ ynh_script_progression --message="Building Sutom... (this will take some time an
pushd "$final_path" pushd "$final_path"
ynh_use_nodejs ynh_use_nodejs
ynh_exec_warn_less npm i -g npm ynh_exec_warn_less npm i -g npm
ynh_exec_warn_less npm install ynh_exec_warn_less npm install --production
popd popd
#================================================= #=================================================