Development setup
Contents
Development setup#
OpenSPP Docker setup using Doodba#
Docker simplifies the installation of Odoo and its dependencies, with the added benefits offered by Doodba.
Prerequisites#
Basic understanding of Git, Docker, Docker Compose, Git-aggregator, Invoke, Odoo, and Python
Terminal access
Visual Studio Code (VSCode)
Setup#
Begin by cloning the OpenSPP Docker repository from here
Switch to the openspp-docker directory.
Execute the following commands:
invoke develop # Sets up a VSCode development environment
invoke img-pull # Retrieves Docker images as per .yaml file specifications
invoke img-build # Constructs Docker images locally
invoke git-aggregate # Pull the dependencies with git
invoke resetdb # Generates a new, demo-data-free database
invoke start # Activates Odoo
Combine these commands for a single execution if desired:
invoke develop img-pull img-build git-aggregate resetdb start
Browse the following in a preferred browser:
Odoo: http://localhost:17069/
Mailhog: http://localhost:17025/
Pgweb: http://localhost:17081/
Refer to the Readme in the repository for more detailed instructions on Docker Odoo and Invoke commands.
openspp.org