1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cryptpad_ynh.git synced 2024-09-03 18:26:14 +02:00

Update install

This commit is contained in:
ericgaspar 2021-08-17 12:35:07 +02:00
parent a3632354f3
commit 27ba3e8ec6
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -108,7 +108,6 @@ ynh_add_nginx_config
ynh_script_progression --message="Configuring a systemd service..." --weight=1
ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service"
ynh_replace_string --match_string="__YNH_NPM__" --replace_string="$ynh_npm" --target_file="../conf/systemd.service"
ynh_add_systemd_config
@ -118,6 +117,7 @@ ynh_add_systemd_config
ynh_add_config --template="../conf/config.js" --destination="$final_path/config/config.js"
chmod 600 "$final_path/config/config.js"
chown $app "$final_path/config/config.js"
#=================================================
# INSTALL CRYPTPAD
@ -175,7 +175,7 @@ Please open your $app domain: https://$domain$path_url
Once CryptPad is installed, create an account via the Register button on the home page. To make this account an instance administrator:
1. Copy their public key found in User Menu (avatar at the top right) > Settings > Account > Public Signing Key
1. Copy the public key found in User Menu (avatar at the top right) > Settings > Account > Public Signing Key
2. Paste this key in /var/www/cryptpad/config/config.js in the following array (uncomment and replace the placeholder):
adminKeys: [