Development Setup#

Setting up a local OpenSPP environment can be accomplished through two distinct methodologies.

1. OpenSPP Docker Setup Using Doodba#

This technique utilizes Docker, simplifying 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 img-build --pull - Builds or pulls images from a remote repository as needed.

  • invoke resetdb - Generates a new, demo-data-free database.

  • invoke resetdb --demo - Creates a new database inclusive of demo data.

  • invoke start - Activates Odoo.

  1. Combine these commands for a single execution if desired.

  • e.g. 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.

2. OpenSPP Setup from PiPy#

Refer the link.