Odoo

From Alpine Linux
Revision as of 13:05, 23 September 2019 by Rhubinak (talk | contribs) (Created page with "= Introduction = [https://www.odoo.com/ Odoo] is an all-in-one business software including CRM, website/e-commerce, billing, accounting, manufacturing, warehouse - and project...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 echo "odoo ALL=(ALL) ALL" >> /etc/sudoers addgroup sudo adduser odoo sudo su - odoo

Installing dependencies

sudo apk add sudo nano less python3 py-pip py3-lxml py3-greenlet py3-gevent py3-psutil py3-pillow py3-psycopg2 py3-reportlab postgresql-dev postgresql git gcc g++ py3-pyldap sudo pip3 install --upgrade pip

Clone Odoo git repository

cd ~ git clone https://github.com/odoo/odoo.git cd odoo

Install python dependencies

sudo pip3 install -r requirements.txt

Postgres installation

Create, configure and start database

sudo /etc/init.d/postgresql setup sudo /etc/init.d/postgresql start sudo rc-update add postgresql

Create new database user (Odoo will not run under default postgres user)

sudo 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

Also see

Installing Odoo