From 847c8f37e02c940b5762b2be144ab7c33a4dbffb Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Fri, 14 Jun 2024 17:56:15 +0200 Subject: [PATCH] Update install --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 5434a36..fd95f13 100755 --- a/scripts/install +++ b/scripts/install @@ -89,9 +89,9 @@ ynh_script_progression --message="Deploying $app..." pushd "$install_dir" ynh_use_nodejs - # ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install moment-locales-webpack-plugin - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV=production yarn install --production - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV=production yarn run production + # ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH APP_ENV=local $ynh_npm install moment-locales-webpack-plugin + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV=production APP_ENV=local yarn install --production + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV=production APP_ENV=local 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 mobile_id=$( cd $install_dir && tail -2 key.txt | head -1 | cut -c 12- )