Browse Source

Explain how to deploy the modules the pypi way

pull/66/head
Ferran Quer Guerrero 4 years ago
parent
commit
7bc430d892
  1. 18
      README.md

18
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 `_`.
Loading…
Cancel
Save