This is a flexible and streamlined version to run the project.
You need to have Docker and docker-compose installed.
$ git clone [email protected]:newlogic/openg2p-docker.git
$ cd openg2p-docker
$ git submodule init
$ git submodule update
$ docker-compose -f docker-compose.yml -f dev-standalone.yml up
Then open http://localhost:8069/
If you are using MacOs with and M1 CPU, you will need to rebuild the docker image first:
$ docker build -t newlogic42/dockerdoo:15.0 --no-cache .
your-project/
├── resources/ # Scripts for service automation
├── src/
│ └── odoo/ # Just required if using hosted source code
│
├── config/
│ └── odoo.conf # Hosted configuration file for hosted environment
├── custom/ # Custom modules goes here, same level hierarchy **REQUIRED**
│ ├── iterativo/
│ ├── OCA/
│ ├── enterprise/
│ └── /
├── ... # Common files (.gitignore, etc.)
├── .env # Single source of environment definition
├── Dockerfile # Single source of image definition
├── docker-compose.yml # The opionated version
└── docker-compose.override.yml # Your custom version
You can put all your custom addons in the folder ./custom/
, those will be automatically added to your addons_path
thanks to the script in ./resources/getaddons.py
Mainly based on dockerdoo