1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse-admin_ynh.git synced 2024-09-03 20:26:34 +02:00

Update install

This commit is contained in:
ericgaspar 2021-08-06 21:22:26 +02:00
parent bbd280b6f5
commit 8fe4423cc2
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -93,6 +93,7 @@ popd
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
chown -R $app:$app $final_path/node_modules
#=================================================
# NGINX CONFIGURATION
@ -105,7 +106,7 @@ ynh_add_nginx_config
#=================================================
# ADD A CONFIGURATION
#=================================================
ynh_script_progression --message="Adding a configuration file..." --time --weight=1
ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="../conf/.env" --destination="$final_path/.env"
@ -119,6 +120,7 @@ ynh_script_progression --message="Building $app... (this will take some time and
pushd "$final_path"
ynh_use_nodejs
ynh_exec_warn_less yarn install
chown -R $app:$app $final_path/node_modules
popd
#=================================================