Project

General

Profile

E-Lite » History » Version 3

iri, 05/06/2012 04:10 PM

1 1 iri
h1. E-Lite
2
3
Install Etherpad-Lite ....
4
5
As root, do :
6
7
- On Debian, if needed, install dependencies :
8
<pre>
9
apt-get install gzip git-core curl python libssl-dev pkg-config build-essential
10
</pre>
11
12
- Download the lastest version of node.js from http://nodejs.org/#download
13
14
- Extract this with <pre>tar xf node-v0.6*
15
</pre>
16
17
- Go to the node directory <pre>cd node-v0.6*
18
</pre>
19
20
- Build node with <pre>./configure && make && make install
21
</pre>
22
23
As user (not root), do :
24
25
- Go to the directory where EL will be installed
26
- Clone the git repository <pre>git clone 'git://github.com/Pita/etherpad-lite.git'</pre>
27
- Go to the directory of source code clone <pre>cd etherpad-lite</pre>
28
- Install dependencies <pre>bin/installDeps.sh</pre>
29
- Start EL with <pre>bin/run.sh</pre>
30
- With the web browser, go to http://pad.scolring.org or http://www.scolring.org:9001/
31
32
After, if install is ok, settings can be modified :
33
34
- Keep in the same directory (etherpad-lite)
35
- Edit the _settings.json_ file :<pre>nano settings.json</pre> (or with vi, emacs, ...)
36
37
To install Sqlite3 support :
38
- Keep in the same directory (etherpad-lite)
39
- Enter the command :<pre>npm install sqlite3</pre>
40
41
To update to the lastest version :
42
<pre>git pull origin</pre>
43
44
To run with debug (see settings.json too) :
45
<pre>bin/debugRun.sh</pre>
46 2 iri
47
To switch to develop branch :
48
<pre>git checkout develop</pre>
49 3 iri
<pre>bin/run.sh</pre>
50 2 iri
51
To switch to master branch :
52
<pre>git checkout master</pre>
53 3 iri
<pre>bin/run.sh</pre>
54
55
Return to [[Tutorials]]