mirror of
https://github.com/YunoHost-Apps/monica_ynh.git
synced 2024-09-03 19:46:23 +02:00
NODE_ENV=production
This commit is contained in:
parent
cfa7aeb915
commit
08b1860d0a
1 changed files with 3 additions and 3 deletions
|
@ -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 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 $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 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- )
|
||||
|
|
Loading…
Reference in a new issue