Skip to content

emiliano-novobi/art-naturals-docker

Repository files navigation

Dev Environment

Art Naturals repo

git clone [email protected]:novobi1/ArtNaturals-Odoo.git customized_addons
cd customized_addons                                                                                                                                   master ✱
git checkout features/edi_sps_integration

Run Odoo

You can run Odoo either in Docker or in a Local Setup.

Run in Docker

docker-compose up --build

Run in Local Setup

PostgreSQL

docker run -d -v art-naturals-db:/var/lib/postgresql/data -p 5432:5432 -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name art-naturals-db postgres

After reboot:

docker start art-naturals-db

Python

Python 3.8 works OK.

You can install Python using PyEnv:

pyenv install 3.8.0
pyenv local 3.8.0

Dependencies

Due to andersinno/suds-jurko#6:

pip install 'setuptools==58.0.0'
pip install boto3
pip install zeep

Due to boto/botocore#2580:

pip install 'urllib3==1.26.7'

NPM

npm install -g less

Odoo

Point to your local project directory in config/odoo-local.conf:

For example, if the local project directory is /mnt/data/code/novobi/art-naturals-docker:

addons_path=/mnt/data/code/novobi/art-naturals-docker/odoo/addons,/mnt/data/code/novobi/art-naturals-docker/enterprise,/mnt/data/code/novobi/art-naturals-docker/customized_addons

Then run Odoo:

odoo/odoo-bin -c config/odoo-local.conf 

Restore the Odoo DB provided by your teammates, then restart Odoo with the -d art-naturals parameter:

odoo/odoo-bin -c config/odoo-local.conf -d art-naturals

About

Dockerize Art Naturals Odoo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published