From 7bc430d8927288351233d1bf6fc5b7712877a1d3 Mon Sep 17 00:00:00 2001 From: Ferran Quer Guerrero Date: Wed, 11 Dec 2019 18:31:34 +0100 Subject: [PATCH] Explain how to deploy the modules the pypi way --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index e19d749..e1e3cdb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,20 @@ # vertical-cooperative This repository gather odoo modules for cooperatives + +## Deploying with pip + +We used [odoo setup tools](https://pypi.org/project/setuptools-odoo/#packaging-a-single-addon) to generate the pypi files from the odoo manifests. To deploy any packaged module, so that odoo can later install them, +you can create a venv with this name (it's git-ignored) +```shell +python -m venv venv +``` +And then pip-install them [from pypi](https://pypi.org/user/coopdevs/). + +### Example +For instance, for the addon `easy_my_coop_website_portal` + +``` +pip install odoo12-addon-easy-my-coop-website-portal==12.0.1.0.0.99.dev9 +``` + +Beware that for word separation, pypi uses dashes `-` and odoo underscores `_`.