How to do it...

In order to use buildout to build your project, you need to follow these steps:

  1. On your development server, create a new work directory:
    $ mkdir ~/odoo-dev/project-buildout
    $ cd ~/odoo-dev/project-buildout
  1. Create a file called buildout.cfg:
[buildout] parts = odoo [odoo] recipe = anybox.recipe.odoo:server OCA = https://github.com/OCA version = git https://github.com/odoo/odoo.git odoo 11.0 depth=1 addons = git ${odoo:OCA}/server-tools.git parts/server-tools 11.0 git ${odoo:OCA}/partner-contact.git parts/partner-contact 11.0 local local/addons options.limit_memory_hard = 4294967296 options.limit_memory_soft = 671088640 options.limit_request = 8192 options.limit_time_cpu = 120 options.limit_time_real = 300 options.http_port ...

Get Odoo 11 Development Cookbook - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.