1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/umami_ynh.git synced 2024-10-01 13:34:50 +02:00

--production

This commit is contained in:
Éric Gaspar 2022-12-16 12:13:50 +01:00
parent bf7be36643
commit f3b9cc6020
2 changed files with 3 additions and 3 deletions

View file

@ -130,7 +130,7 @@ chown $app:$app "$final_path/.env"
ynh_script_progression --message="Configuring the app..." --weight=15
pushd $final_path
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install #--production
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --production
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn build
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn update-db
popd

View file

@ -118,9 +118,9 @@ ynh_add_nginx_config
ynh_script_progression --message="Configuring the app..." --weight=15
pushd $final_path
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --production
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn build
#ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn update-db
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn update-db
popd
#=================================================