Detailed instructions on getting openerp set up or installed in Debian/Ubuntu.
To install from source code, we need Python 2.7, Git and a PostgreSQL database:
$ sudo apt-get install git python-pip python2.7-dev -y $ sudo apt-get install postgresql -y $ sudo su -c "createuser -s $(whoami)" postgres
Next we need some system dependencies, required by the Python packages used by Odoo:
$ sudo apt-get install libxml2-dev libxslt1-dev \ libevent-dev libsasl2-dev libpq-dev \ libpng12-dev libjpeg-dev \ node-less node-clean-css -y
The Python dependencies are declared in the requirements.txt
file:
$ wget https://raw.githubusercontent.com/odoo/odoo/master/requirements.txt $ sudo -H pip install --upgrade pip $ sudo -H pip install -r requirements.txt
Now you can get the source code from GitHub, and start create your first Odoo instance:
$ git clone https://github.com/odoo/odoo.git -b 9.0 --depth=1
$ ./odoo/odoo.py -d myodoo