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#

  1. Begin by cloning the OpenSPP Docker repository from here

  2. Switch to the openspp-docker directory.

  3. 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
  1. Combine these commands for a single execution if desired:

invoke develop img-pull img-build git-aggregate resetdb start
  1. Browse the following in a preferred browser:

Refer to the Readme in the repository for more detailed instructions on Docker Odoo and Invoke commands.