Many steps taken from code.zoia.org.
apt-get install postgresql-server-dev-9.3 python-dev
Install LDAP dependencies:
apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev
libxml and libxslt:
apt-get install libxml2-dev libxslt-dev
Install bzr for launchpad for OpenERP
apt-get install bzr
pip install --allow-unverified PIL --allow-external PIL \
python-dateutil feedparser gdata \
python-ldap lxml mako python-openid \
psycopg2 Babel reportlab simplejson \
pytz vatnumber vobject python_webdav \
Werkzeug pyparsing==1.5.7 pydot \
PyYAML xlwt PIL
ZSI failed to install and was recommended to be dropped
I ran into errors and learned that you can use download caching with pip so you can run the same command.
pip install --download-cache /path/to/pip/cache matplotlib
pip install http://download.gna.org/pychart/PyChart-1.39.tar.gz
or
wget http://download.gna.org/pychart/PyChart-1.39.tar.gz
tar xvfz PyChart-1.39.tar.gz
python setup.py build
python setup.py install
Download OpenERP v7 server, addons and web addons from the development trunk of the OpenERP Project Group this takes a lot of ram:
bzr branch lp:~openerp/openobject-server/7.0 server && \
bzr branch lp:~openerp/openobject-addons/7.0 addons && \
bzr branch lp:openerp-web/7.0 web
Maybe a better way is to just get the nightly tarball.
Install the rest:
cd server
python setup.py install
Create user.
sudo -u postgres createuser openerp
sudo -u postgres createdb -O openerp openerp
Set the password.
Change from peer auth to md5.
sudo vim /etc/postgresql/9.3/main/pg_hba.conf
add the line:
local all openerp md5
Start the server
./openerp-server -s
Kill it. Edit config file.
vim ~/.openerp_serverrc
...
addons_path = <path to addons repo>, <path to web repo>/addons
db_name = openerp
db_password = <password>
db_user = openerp
Nice nice! One change: