Odoo: Difference between revisions
(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...") |
(cleanup some informations & add warning) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
= Preparing Alpine = | = Preparing Alpine = | ||
After installation and the usual repo update/upgrade add user for odoo (does not have to be named odoo) | After installation and the usual repo update/upgrade add user for odoo (does not have to be named odoo) | ||
{{Cmd| | {{Cmd|<nowiki># adduser odoo | ||
# su - odoo | |||
</nowiki>}} | |||
adduser odoo | |||
su - odoo}} | |||
= Installing dependencies = | = Installing dependencies = | ||
{{Cmd| | {{Cmd|<nowiki># 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</nowiki>}} | ||
Clone Odoo git repository | Clone Odoo git repository | ||
{{Cmd|cd ~ | {{Cmd|$ cd ~ | ||
git clone https://github.com/odoo/odoo.git | $ git clone https://github.com/odoo/odoo.git | ||
cd odoo}} | $ cd odoo}} | ||
{{obsolete|pip is externally managed! the packages should be installed using apk or using a virtual enviroment}} | |||
Install python dependencies | Install python dependencies | ||
{{Cmd| | {{Cmd|# pip3 install -r requirements.txt}} | ||
= Postgres installation = | = Postgres installation = | ||
Create, configure and start database | Create, configure and start database | ||
{{Cmd| | {{Cmd|<nowiki># rc-service setup | ||
# rc-service postgresql start | |||
# rc-update add postgresql | |||
</nowiki>}} | |||
Create new database user (Odoo will not run under default postgres user) | Create new database user (Odoo will not run under default postgres user) | ||
{{Cmd| | {{Cmd|# su - postgres -c "createuser -s odoo"}} | ||
= Running Odoo = | = Running Odoo = | ||
This will serve Odoo on localhost:8069 and connect to odoo DB using Unix socket | This will serve Odoo on <code>localhost:8069</code> and connect to odoo DB using Unix socket | ||
{{Cmd|./odoo-bin}} | {{Cmd|$ ./odoo-bin}} | ||
= Also see = | = Also see = | ||
[https://www.odoo.com/documentation/ | [https://www.odoo.com/documentation/16.0/administration/install.html Odoo Odoo's installation instructions] | ||
[[Category:Server]] | [[Category:Server]] |
Latest revision as of 21:00, 21 September 2023
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