Project

General

Profile

Actions

E-Lite

Install Etherpad-Lite ....

As root, do :

- On Debian, if needed, install dependencies :

apt-get install gzip git-core curl python libssl-dev pkg-config build-essential

- Download the lastest version of node.js from http://nodejs.org/#download

- Extract this with

tar xf node-v0.6*

- Go to the node directory

cd node-v0.6*

- Build node with

./configure && make && make install

As user (not root), do :

- Go to the directory where EL will be installed
- Clone the git repository

git clone 'git://github.com/Pita/etherpad-lite.git'

- Go to the directory of source code clone
cd etherpad-lite

- Install dependencies
bin/installDeps.sh

- Start EL with
bin/run.sh

- With the web browser, go to http://pad.scolring.org or http://www.scolring.org:9001/

After, if install is ok, settings can be modified :

- Keep in the same directory (etherpad-lite)
- Edit the settings.json file :

nano settings.json
(or with vi, emacs, ...)

To install Sqlite3 support :
- Keep in the same directory (etherpad-lite)
- Enter the command :

npm install sqlite3

To install plugins :

npm install ep_pluginname

To upgrade plugins :
npm install --upgrade ep_pluginname

To update to the lastest version :

git pull origin

To run with debug (see settings.json too) :

bin/debugRun.sh

To switch to develop branch :

git checkout develop

bin/run.sh

To switch to master branch :

git checkout master

bin/run.sh

To a protected access :
edit settings.json (in the e-l root directory)
if any, comment "httpAuth" key
add or update these lines

/* This setting is used if you require authentication of all users.
     Note: /admin always requires authentication. */
  "requireAuthentication": true,

  /* Require authorization by a module, or a user with is_admin set, see below. */
  "requireAuthorization": false,

  /* Users for basic authentication. is_admin = true gives access to /admin.
     If you do not uncomment this, /admin will not be available! */

  "users": {
    "toto": {
      "password": "pass",
      "is_admin": true
    },
    "titi": {
      "password": "pass2",
      "is_admin": false
    }
  },

Return to Tutorials

Updated by iri over 12 years ago ยท 4 revisions