Project

General

Profile

E-Lite » History » Revision 3

Revision 2 (iri, 05/06/2012 04:07 PM) → Revision 3/4 (iri, 05/06/2012 04:10 PM)

h1. E-Lite 

 Install Etherpad-Lite .... 

 As root, do : 

 - On Debian, if needed, install dependencies : 
 <pre> 
 apt-get install gzip git-core curl python libssl-dev pkg-config build-essential 
 </pre> 

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

 - Extract this with <pre>tar xf node-v0.6* 
 </pre> 

 - Go to the node directory <pre>cd node-v0.6* 
 </pre> 

 - Build node with <pre>./configure && make && make install 
 </pre> 

 As user (not root), do : 

 - Go to the directory where EL will be installed 
 - Clone the git repository <pre>git clone 'git://github.com/Pita/etherpad-lite.git'</pre> 
 - Go to the directory of source code clone <pre>cd etherpad-lite</pre> 
 - Install dependencies <pre>bin/installDeps.sh</pre> 
 - Start EL with <pre>bin/run.sh</pre> 
 - 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 :<pre>nano settings.json</pre> (or with vi, emacs, ...) 

 To install Sqlite3 support : 
 - Keep in the same directory (etherpad-lite) 
 - Enter the command :<pre>npm install sqlite3</pre> 

 To update to the lastest version : 
 <pre>git pull origin</pre> 

 To run with debug (see settings.json too) : 
 <pre>bin/debugRun.sh</pre> 

 To switch to develop branch : 
 <pre>git checkout develop</pre> 
 <pre>bin/run.sh</pre> 

 To switch to master branch : 
 <pre>git checkout master</pre> 
 <pre>bin/run.sh</pre> 

 Return to [[Tutorials]]