From 24d01ed37c9e1e162cd3f10d16c7291a13b2c226 Mon Sep 17 00:00:00 2001 From: Loren McIntyre Date: Wed, 6 Mar 2024 11:52:36 -0800 Subject: [PATCH] Add --production flag to initial yarn install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index ce15a03..8e83b2f 100755 --- a/scripts/install +++ b/scripts/install @@ -90,7 +90,7 @@ update-alternatives --set php /usr/bin/php$phpversion pushd "$install_dir" ynh_use_nodejs - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH yarn install + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH yarn install --production ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH yarn run production ynh_exec_warn_less ynh_exec_as $app php$phpversion artisan setup:production --force --email=$email --password=$password ynh_exec_warn_less ynh_exec_as $app php$phpversion artisan passport:client --password -n > key.txt