First, download from git,
1
|
https://github.com/odoo/odoo.git
|
Install postgresql database server and create superuser,
1
|
sudo su – postgres –c “createuser -s $USER”
|
Install nodejs and less,
1
2
3
|
$ apt–get install –y npm
$ sudo ln –s /usr/bin/nodejs /usr/bin/node
$ sudo npm install –g less less–plugin–clean–css
|
install python requirements,
1
|
$ pip install –r requirements.txt
|
Finally run odoo as postgres user,
1
2
|
sudo su – postgres
./odoo–bin
|