~charmers/charms/trusty/etherpad-lite/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Overview

Etherpad lite is a really-real time collaborative editor spawned from the
Hell fire of Etherpad. It reuses the well tested Etherpad easysync library
to make it really realtime.

Etherpad Lite is based on node.js ergo is much lighter and more stable than
the original Etherpad. Our hope is that this will encourage more users to
use and install a realtime collaborative editor.

For more information see https://github.com/Pita/etherpad-lite.

# Usage


Etherpad will happily sit on single server::

   juju deploy etherpad-lite

but it can also be backed by mysql::

   juju deploy mysql
   juju add-relation etherpad-lite mysql

Note that if you switch an existing etherpad-lite instance to use mysql you will
lose all of the pads within your standalone deployment - same applies
vica-versa.

The charm config has the following configurables:

    application_url: Bundled BZR branch with node.js deps
    application_revision: branch revision to update
    install_dir: directory to install to
    extra_archives: get an appropriate version of node.js and related packages

To upgrade, set application_revision to the latest version:
	
    juju upgrade-charm etherpad-lite

Your data will be retained in {install_dir}-db, or fixup the mysql relation as above.