Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1005 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 1005 Bytes

Project Scaffolding

Docker-compose scaffolding project, to use with odoo-saas images

Requirements

  • docker
  • docker-compose

Usage

  1. Clone repository to your project folder
git clone git@github.com:apikcloud/apik-scaffolding.git project && cd project
  1. Edit docker-compose.yml to use the proper docker image. You might need to run docker login before, to get access to our saas images. To reproduce a production environment exactly, use the full build tag (ie: odoo-saas:13.0.2020.12.15-enterprise)

  2. Clone repositories or edit code from your host by working on repositories. Repositories there will be loaded with priority over the ones included in the image, allowing you to work locally.

cd repositories
git clone https://github.com/OCA/partner-contact.git
  1. Launch and enter odoo container, and launch odoo
docker-compose run --rm --service-ports odoo bash
odoo

Usefull commands

Cleanup:

  • docker-compose down -v: It'll remove all data