diff --git a/doc/ADMIN.md b/doc/ADMIN.md index ffd8479..4dfb47b 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -1,10 +1,3 @@ -This version of Etherpad is installed without plugins and uses Redis as database. -Be aware, Redis database backup and restore is not fully implemented. +You can access Etherpad's admin panel at `__DOMAIN____PATH__/admin`. The configuration file for Etherpad is at the path `__INSTALL_DIR__/settings.json`. -If you want to install Etherpad with plugins and mysql database: https://github.com/YunoHost-Apps/etherpad_mypads_ynh", - -## Configuration - -You can access Etherpad's admin panel at `domain.tld/admin`. The configuration file for Etherpad is at the path `/var/www/etherpad/settings.json`. - -*Skin Builder* (accessible at this address `domain.tld/pad/p/test#skinvariantsbuilder`) allows you to customize the skin of your pad. It will give you a parameter to copy into your configuration file `/var/www/etherpad/settings.json`. +*Skin Builder* (accessible at this address `domain.tld/pad/p/test#skinvariantsbuilder`) allows you to customize the skin of your pad. It will give you a parameter to copy into your configuration file `__INSTALL_DIR__/settings.json`. diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md index 827efe1..d216b09 100644 --- a/doc/ADMIN_fr.md +++ b/doc/ADMIN_fr.md @@ -1,3 +1,3 @@ -Vous pouvez accéder au panneau d'administration d'Etherpad à l'adresse `domain.tld/admin`. Le fichier de configuration d'Etherpad est `/var/www/etherpad/settings.json`. +Vous pouvez accéder au panneau d'administration d'Etherpad à l'adresse `__DOMAIN____PATH__/admin`. Le fichier de configuration d'Etherpad est `__INSTALL_DIR__/settings.json`. -*Skin Builder* (accessible à l'adresse `domain.tld/pad/p/test#skinvariantsbuilder`) vous permet de personnaliser l'apparence de votre pad. Il vous donnera un paramètre à copier dans votre fichier de configuration `/var/www/etherpad/settings.json`. +*Skin Builder* (accessible à l'adresse `__INSTALL_DIR__/pad/p/test#skinvariantsbuilder`) vous permet de personnaliser l'apparence de votre pad. Il vous donnera un paramètre à copier dans votre fichier de configuration `__INSTALL_DIR__/settings.json`. diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md index 5ecb79a..d213653 100644 --- a/doc/DESCRIPTION.md +++ b/doc/DESCRIPTION.md @@ -1 +1,4 @@ Etherpad is a real-time collaborative editor scalable to thousands of simultaneous real time users. It provides full data export capabilities, and runs on your server, under your control. +This version of Etherpad is installed without plugins and uses Redis as database. +Be aware, Redis database backup and restore is not fully implemented. +If you want to install Etherpad with plugins and mysql database: https://github.com/YunoHost-Apps/etherpad_mypads_ynh", diff --git a/doc/DESCRIPTION_fr.md b/doc/DESCRIPTION_fr.md index 519f648..e71776a 100644 --- a/doc/DESCRIPTION_fr.md +++ b/doc/DESCRIPTION_fr.md @@ -1 +1,4 @@ -Etherpad est un éditeur collaboratif en temps réel évolutif pour des milliers d'utilisateurs simultanés en temps réel. Il fournit des capacités complètes d'exportation de données et s'exécute sur votre serveur, sous votre contrôle. \ No newline at end of file +Etherpad est un éditeur collaboratif en temps réel évolutif pour des milliers d'utilisateurs simultanés en temps réel. Il fournit des capacités complètes d'exportation de données et s'exécute sur votre serveur, sous votre contrôle. +Cette version d'Etherpad est installée sans plugins et utilise Redis comme base de données. +Attention, la sauvegarde et la restauration de la base de données Redis ne sont pas entièrement implémentées. +Si vous souhaitez installer Etherpad avec les plugins et la base de données mysql : https://github.com/YunoHost-Apps/etherpad_mypads_ynh", diff --git a/scripts/backup b/scripts/backup index 7c629c7..312b053 100644 --- a/scripts/backup +++ b/scripts/backup @@ -44,4 +44,4 @@ ynh_backup --src_path="/etc/systemd/system/$app.service" # END OF SCRIPT #================================================= -ynh_print_info --message="Backup script completed for Etherpad. (YunoHost will then actually copy those files to the archive)." +ynh_print_info --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." diff --git a/scripts/change_url b/scripts/change_url index b61f211..6898805 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -38,4 +38,4 @@ sleep 120 # END OF SCRIPT #================================================= -ynh_script_progression --message="Change of URL completed for Etherpad" --last +ynh_script_progression --message="Change of URL completed for $app" --last diff --git a/scripts/install b/scripts/install index ca91dde..c638c92 100644 --- a/scripts/install +++ b/scripts/install @@ -15,7 +15,6 @@ source /usr/share/yunohost/helpers ynh_script_progression --message="Installing dependencies..." --weight=6 ynh_install_nodejs --nodejs_version=$nodejs_version -ynh_use_nodejs #================================================= # CREATE A POSTQRESQL DATABASE @@ -40,7 +39,7 @@ chown -R $app:www-data "$install_dir" #================================================= # INSTALL ETHERPAD #================================================= -ynh_script_progression --message="Installing Etherpad..." --weight=60 +ynh_script_progression --message="Installing $app..." --weight=60 pushd $install_dir ynh_use_nodejs @@ -51,7 +50,7 @@ popd #================================================= # MODIFY A CONFIG FILE #================================================= -ynh_script_progression --message="Configuring Etherpad..." --weight=6 +ynh_script_progression --message="Configuring $app..." --weight=6 cp ../conf/settings.json $install_dir/settings.json diff --git a/scripts/remove b/scripts/remove index aa20db8..785cbfa 100644 --- a/scripts/remove +++ b/scripts/remove @@ -43,4 +43,4 @@ ynh_secure_remove --file="/var/log/$app" # END OF SCRIPT #================================================= -ynh_script_progression --message="Removal of Etherpad completed" --last +ynh_script_progression --message="Removal of $app completed" --last diff --git a/scripts/restore b/scripts/restore index 513c4a2..b132b8c 100644 --- a/scripts/restore +++ b/scripts/restore @@ -57,4 +57,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Restoration completed for Etherpad" --last +ynh_script_progression --message="Restoration completed for $app" --last diff --git a/scripts/upgrade b/scripts/upgrade index cfee58a..f59bf9e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -59,7 +59,7 @@ yunohost service add $app --description="Collaborative editor" --log="/var/log/$ #================================================= # INSTALL ETHERPAD #================================================= -ynh_script_progression --message="Installing Etherpad..." --weight=90 +ynh_script_progression --message="Installing $app..." --weight=90 pushd $install_dir ynh_use_nodejs @@ -80,4 +80,4 @@ ynh_systemd_action --service_name=$app --action=restart --log_path=systemd --lin # END OF SCRIPT #================================================= -ynh_script_progression --message="Upgrade of Etherpad completed" --last +ynh_script_progression --message="Upgrade of $app completed" --last