Home‎ > ‎Services‎ > ‎OpenERP‎ > ‎Technical Documentation‎ > ‎

Module - Installation & Integration of Etherpad-Lite with OpenERP


OpenERP 7.0 has many new features that include  text fields for adding additional notes and messages, such as the new Note Pad module.  To provide richer text formatting within  these modules a tool called  etherpad-lite can be used. In addition etherpad allows many simultaneous connection to the same etherpad, for real-time collaborations between colleagues at remote locations. 

This page describes how to install ether-pad-Lite on your server and interface this to your OpenERP system.

What is Etherpad-lite?


Collaborating in really real-time. A demo is provided by the vendor of etherpad -> here

Etherpad lite allows you to edit documents collaboratively in real-time, much like a live multi-player on-line editor, allowing you to write articles, proposals, press releases and the like, together with your friends, your fellow students or your colleagues, working on the same document at the same time. It even supports rich text editing! Additionally, Etherpad lite provides access to all data through a well-documented HTTP API and supports import/export to many major data exchange formats. The built-in plugin system makes extending the core functionality a breeze, regardless of whether you're adding support for inserting images or videos or allowing users to collaborate on tables.

Assumptions

For the intergation of Etherpad and OpenERP the following is assumed:
  • OpenERP is installed on an Ubuntu 12.4 server e.g. on a Hyper-V, VM, Virtual Box 
  • Etherpad-lite will be installed on the same Ubuntu server as where OpenERP is running

Installing Etherpad

  • You'll need gzip, git, curl, libssl develop libraries, python and gcc.
sudo apt-get install gzip git-core curl python libssl-dev pkg-config build-essential
  • Additionally, you'll need node.js installed, Ideally the latest stable version, be careful of installing nodejs from apt. As any user (etherpad.org recommend creating a separate user called etherpad-lite)
  • change directory  to a folder where you want to install Etherpad Lite. Clone the git repository
git clone git://github.com/ether/etherpad-lite.git
  • Change into the new directory containing the cloned source code cd etherpad-lite
  • Now, run the server:
sudo bin/run.sh 

when asked enter "Etherpad Lite rocks my sock"
type the message as it says

or to run as the user etherpad-lite (then your're not prompted with the annoying message)

a) Create the user etherpad-lite:
sudo adduser --system --home=/opt/etherpad-lite --group etherpad-lite

b) login as user etherpad-lite:
sudo su - etherpad-lite -s /bin/bash
/usr/share/etherpad-lite/bin/run.sh  (assuming the files are located in /user/share/etherpad-lite)

This starts etherpad running on a DirtyDB which is fine for testing. Read the git instruction on how to install a more suitable production solution and how to tweak the solution
  • open a brower and enter  http://127.0.0.1:9001 or the IP address of the server you installed it on) in your browser.
  • To deploy Etherpad-Lite as a service read https://github.com/ether/etherpad-lite/wiki/How-to-deploy-Etherpad-Lite-as-a-service




Enter a name of a new discussion topic and a new etherpad will open up. Other people can connect to the same pad - but they'll need to know the name of the etherpad,  as there's no option to obtain an index of exiting pads (I'm sure there is - but I haven't just found out how to do it.).

Installing OpenERP Modules

1. Install modules Notes (note_pad)
  • Memos pad   (note_pad)
  • Collaborative Pads   (pad)
  • Pad on tasks (pad_project)

2. Configure OpenERP

  • Settings / Company /Configuration  
etherpad configuration
enter the IP address of your etherpad server





etherpad integration to notes



References:

  • https://help.ubuntu.com/community/Etherpad-liteInstallation