Odoo
Introduction
Odoo is an all-in-one business software including CRM, website/e-commerce, billing, accounting, manufacturing, warehouse - and project management, and inventory.
Preparing Alpine
After installation and the usual repo update/upgrade add user for odoo (does not have to be named odoo)
# adduser odoo # su - odoo
Installing dependencies
# apk add python3 py-pip py3-lxml py3-greenlet py3-gevent py3-psutil py3-pillow py3-psycopg2 py3-reportlab postgresql-dev postgresql git g++ py3-pyldap
Clone Odoo git repository
$ cd ~ $ git clone https://github.com/odoo/odoo.git $ cd odoo
This material is obsolete ... pip is externally managed! the packages should be installed using apk or using a virtual enviroment (Discuss) |
Install python dependencies
# pip3 install -r requirements.txt
Postgres installation
Create, configure and start database
# rc-service setup # rc-service postgresql start # rc-update add postgresql
Create new database user (Odoo will not run under default postgres user)
# su - postgres -c "createuser -s odoo"
Running Odoo
This will serve Odoo on localhost:8069
and connect to odoo DB using Unix socket
$ ./odoo-bin