From d8d321dca3b4bfb1d6a0031d0ca9d1898fc244e6 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 13 Mar 2015 18:09:49 +0100 Subject: [PATCH] Add some docs about Etherpad-Lite --- templates/default/documentation.html.ep | 53 +++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/templates/default/documentation.html.ep b/templates/default/documentation.html.ep index c84546c..72db4e8 100644 --- a/templates/default/documentation.html.ep +++ b/templates/default/documentation.html.ep @@ -513,6 +513,59 @@ firewall-cmd --permanent \\ --add-port 49152-65535/udp + + +

+ Etherpad-Lite integration +

+

+ If you want to integrate VROOM with Etherpad-Lite, you'll have to get your instance running. First, install the dependencies +

+yum groupinstall "Development Tools"
+ Then, Create a user, clone the repository and prepare the config +
+useradd etherpad
+cd /opt
+git clone https://github.com/ether/etherpad-lite.git
+chown -R etherpad:etherpad ./etherpad-lite
+cp -a etherpad-lite/settings.json.template etherpad-lite/settings.json
+

+
+ Adapt /opt/etherpad-lite/settings.json to your need. The important settings are + +
+

+ Now, create a systemd unit +

+cat <<'_EOF' > /etc/systemd/system/etherpad.service
+[Unit]
+Description=Run Etherpad-lite, the collaborative editor.
+After=syslog.target network.target
+ 
+[Service]
+Type=simple
+ExecStart=/opt/etherpad-lite/bin/run.sh 2>$1 < /dev/null
+Restart=on-failure
+StandardOutput=syslog
+SyslogIdentifier=Etherpad-Lite
+User=etherpad
+Group=etherpad
+ 
+[Install]
+WantedBy=multi-user.target
+_EOF
+systemctl daemon-reload
+systemctl enable etherpad
+systemctl start etherpad
+ And uncomment the corresponding lines in your httpd configuration (/etc/httpd/conf.d/vroom_alias.conf or /etc/httpd/conf.d/vroom_vhost.conf) +

+ + +

Customize