Contributors mailing list archives

Re: Call for contribution: Installation methods

- 03/05/2018 19:01:11
There are some options to install Odoo (and the stack that It needs).
What is better? For me, Docker; if isn't possible to use, a provisioning (and automated...) system, like Ansible, Chef, Puppet, Fabric...
The last and worst method, obviusbly, is "manual" or "flat command line"

To cover in a right and better form, how to install Odoo, its dependencies, and the needed stack, I think that a serie of articles mayor be the right choice; someting like:

- Odoo and Dependencies
- Complete standard stack (Odoo server + wkhtmltopdf + scss, PostgreSQL, and frontal web server on production enviroment); what, where, and why.
- Aditional stack that you can need (OpenOffice / Libre Office headless, etherpad, py3o....)
- Maintenance tools (always forgotten...), update/upgrade tools for repos (gitaggregator, for example), backup tools / methods, database maintenance...

When all of these topics are covered, Next steps will be the possible methods to install Odoo, "automatized", or "manual" (Ansible, Puppet, Chef, Fabric, Buildout, bash scripts, vs "flat" command line).

And, in other ways, the use of Docker / containers (and what possibilities / projects are, at the moment).

So, the question is...
OCA wants to generate a useful and complete documentation, or only a "init" doc?

If the answer is two, i think that the current article os good enought, and only needs a supplementary entry to list other projects / ways to install Odoo (the Odoo stack, i think that is much better to say).

My two cents ;)


El jue., 3 may. 2018 16:31, Moises Lopez <> escribió:
Using travis2docker, the REDME file help us to create a instance:

Using the project "hr" as an example and branch 11.0:
travisfile2dockerfile --root-path=$HOME/t2d --exclude-after-success 11.0

You will have the output with all matrix of environments from travis.yml

For this case we have 5 environments:
['$HOME/t2d/script/https___github.com_OCA_hr/11.0/3_5/1', '$HOME/t2d/script/https___github.com_OCA_hr/11.0/3_5/2', '$HOME/t2d/script/https___github.com_OCA_hr/11.0/3_5/3', '$HOME/t2d/script/https___github.com_OCA_hr/11.0/3_5/4', '$HOME/t2d/script/https___github.com_OCA_hr/11.0/3_5/5']

Let's to use the environment with TESTS="1" ODOO_REPO="odoo/odoo"

For this case is the environment 4th.

You will have 2 scripts to build the docker image and to create the docker container:

Let's to build the docker image
cd $HOME/t2d/script/https___github.com_OCA_hr/11.0/3_5/4
./ "--no-cache"

The output should be the same that travis-ci log and runbot ci finishing correctly with "Successfully built; Successfully tagged oca-hr:11_0_3_5_4"
After that you will have a docker image like as runbot uses.

Let's to create a container 
./ "--entrypoint=bash"
Now you are within of the container you need create the databases using:

(Disabling the tests if you want just a database of demo).

The output is:
2018-05-03 13:54:57,177 266 INFO openerp_test odoo.models: Computing parent left and right for table ir_ui_menu...
2018-05-03 13:54:57,338 266 INFO openerp_test odoo.service.server: Initiating shutdown
2018-05-03 13:54:57,338 266 INFO openerp_test odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
Module test summary
Success hr_employee_firstname,hr_holidays_imposed_days,hr_holidays_leave_auto_approve,hr_skill

|  Tests summary:
|              Success

Now you need run the command again

In order to start the server.

To connect it to this instance you need your docker skills:
docker port CONTAINER_ID 8069

In my case the output is:

Then I use a browser to connect:

I have a summary of this in the following video:

2018-05-03 3:02 GMT-05:00 Jairo Llopis <>:
Yep, it's what was linked there. I thought it would be better to put the link instead of the verbatim text to avoid duplicated maintenance, but if you still prefer to copy-paste, get it from this section:

2018-05-03 2:01 GMT+01:00 Eric Caudal <>:

Hi Jairo,

This is a nice introduction that we could add later in our catalog listing the deployment tools.

Do you have a quick how-to to get started in few minutes like I did in the blog post?


Eric Caudal [Founder and CEO]
Skype: elico.corp. Phone: + 86 186 2136 1670 (Cell), + 86 21 6211 8017/27/37 (Office)
Elico Shanghai (Hong Kong/Shenzhen/Singapore)
Odoo Gold Partner // Best Odoo Partner APAC 2014 and 2016
On 05/02/2018 04:02 PM, Jairo Llopis wrote:
# The Doodba way

[Doodba]( solves these problems for you:

- Provide a standard project layout, where "project" is the combination of Odoo + addons + dependencies + patches for any of them.
- Provide short, easy to use, [docker-based QA tools](
- Give you full flexibility without losing safety.
- Get up and running in minutes.
- Include all dependencies you will need.
- Support a "Pull Request First" workflow for your team, taking full benefit of OCA's expertise and infrastructure from first commit.
- Separate development, testing and production environments, sharing everything except for the strictly needed differences.
- ... And many more!

To use it, [follow these instructions]( See the full README for more info.

2018-05-01 4:32 GMT+01:00 Eric Caudal <>:


I have created a blog post to introduce simple methods to install OCA modules, available here:

Besides, I would like to create a more permanent page in our website with a catalog of simple methods for set up. I am thinking to include for example about other Docker initiatives (Tecnativa, Vauxoo), Buildout recipes, improved pypi example, etc.

I would like to gather from the community contributions that I could include in the page.

These How-to should be basic instructions targeting new comers to install and use OCA modules.

Objective is to create a catalog of how-to and summaries: user should only have to copy/paste some instructions and get started without questions. It is not in the objective to repeat complete/complex instructions that can be found elsewhere.

Here are the guidelines (following the one I wrote for Docker in the blog):

* The method should be simple and short (no need to include standard software set up)

* The method should be self contained (except obvious dependencies like docker, pip etc.)

* The method should provide all necessary links to further set up or advanced information.

Please send me or in this mailing list your contributions as simple texts in rst or md so that I can include them later in the page.


Eric Caudal [Founder and CEO]
Skype: elico.corp. Phone: + 86 186 2136 1670 (Cell), + 86 21 6211 8017/27/37 (Office)
Elico Shanghai (Hong Kong/Shenzhen/Singapore)
Odoo Gold Partner // Best Odoo Partner APAC 2014 and 2016

Post to:

Jairo Llopis

Post to:

Post to:

Jairo Llopis

Post to:

Moisés López Calderón
Mobile: (+521) 477-752-22-30
Twitter: @moylop260
hangout: - Odoo Gold Partner
Twitter: @vauxoo

Post to: