Difference between revisions of "Etherpad"

From Fixme.ch
Jump to: navigation, search
Line 6: Line 6:
 
*** Considering patching etherpad-lite to use ipv6 as well
 
*** Considering patching etherpad-lite to use ipv6 as well
 
*** Use a reverse-proxy
 
*** Use a reverse-proxy
 +
** SSL was not working, patched /home/etherpadlite/etherpad-lite/node/server.js line 81 with:
 +
<syntaxhighlight lang="javascript">
 +
    var options = {
 +
        key: fs.readFileSync('/home/etherpadlite/etherpad-lite/node_modules/socket.io/node_modules/policyfile/tests/ssl/ssl.private.key'),
 +
        cert: fs.readFileSync('/home/etherpadlite/etherpad-lite/node_modules/socket.io/node_modules/policyfile/tests/ssl/ssl.crt'),
 +
    }
 +
    var app = express.createServer(options);
 +
</syntaxhighlight>

Revision as of 11:25, 14 March 2012

  • Installed on Internal_Server
  • Etherpad lite installed by hand in /home/etherpadlite and run by /etc/init.d/etherpad-lite
    • http://foo.fixme.ch:9001/ or http://62.220.135.248:9001
    • Modification of the file /home/etherpadlite/etherpad-lite/static/js/pad.js 96-102 so it's Monospace font by default (didn't find a better working way), editing static/custom/pad.js with pad.changeViewOption('useMonospaceFont', true); doesn't work.
    • IPv6 doesn't work out of the box
      • Considering patching etherpad-lite to use ipv6 as well
      • Use a reverse-proxy
    • SSL was not working, patched /home/etherpadlite/etherpad-lite/node/server.js line 81 with:
    var options = {
        key: fs.readFileSync('/home/etherpadlite/etherpad-lite/node_modules/socket.io/node_modules/policyfile/tests/ssl/ssl.private.key'),
        cert: fs.readFileSync('/home/etherpadlite/etherpad-lite/node_modules/socket.io/node_modules/policyfile/tests/ssl/ssl.crt'),
    }
    var app = express.createServer(options);