1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monica_ynh.git synced 2024-09-03 19:46:23 +02:00

Update install

This commit is contained in:
Thomas 2024-06-14 17:56:15 +02:00 committed by GitHub
parent 08b1860d0a
commit 847c8f37e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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- )