[![pipeline status](https://gitlab.com/coopiteasy/ociedoo/badges/master/pipeline.svg)](https://gitlab.com/coopiteasy/ociedoo)
ociedoo
=======
ociedoo is a cli collection of tools to simplify the management of odoo
on a server.
See help for more info.
Installation
------------
ociedoo needs python version >= 3.5. So ensure `pip` points to a correct
version of python. To do this run:
```shell
pip --version
```
It should return something like:
```
pip xx.y from /path/to/pip (python 3.5)
```
If `pip` doesn't run python >=3.5, try running `pip3` which is on
certain distribution the `pip` for python >=3.
### Dependencies
ociedoo uses external programs via the shell. Be sure they are installed
and accessible for the current user.
- psql
- createdb
- dropdb
- systemctl
### Install for a specific user
#### Installation with pipx (recommended python >= 3.6)
```shell
pipx install ociedoo
```
#### Installation with pipsi (recommended python < 3.5)
```shell
pipsi install ociedoo
```
#### Install with pip
```shell
pip install --user ociedoo
```
### Install system wide (for all users)
#### Install with pipx (recommended python >= 3.6)
First install pipx if not already installed:
```shell
sudo pip install pipx
```
Then install ociedoo:
```shell
sudo PIPX_HOME=/usr/local PIPX_BIN_DIR=/usr/local/bin pipx install ociedoo
```
#### Install with pipsi (recommended python < 3.6)
First install pipsi, if not already installed:
```shell
sudo curl https://raw.githubusercontent.com/mitsuhiko/pipsi/master/get-pipsi.py | sudo python3 - --bin-dir /usr/local/bin --home /usr/local/venvs --no-modify-path
```
Then install ociedoo:
```shell
sudo pipsi --bin-dir /usr/local/bin --home /usr/local/venvs install ociedoo
```
#### Install with pip
```shell
sudo pip install ociedoo
```
### Enable bash completion
#### Bash completion for a specific user
To enable bash completion add the following in your `.bashrc`:
```shell
# ociedoo
# =======
if command -v ociedoo >/dev/null; then
eval "$(_OCIEDOO_COMPLETE=source ociedoo)"
fi
```
Or if you use zsh, add this to your `.zshrc`:
```shell
# ociedoo
# =======
if command -v ociedoo >/dev/null; then
eval "$(_OCIEDOO_COMPLETE=source_zsh ociedoo)"
fi
```
#### Bash completion system wide (for all users)
To enable bash completion add the following in `/etc/bash.bashrc`:
```shell
# ociedoo
# =======
if command -v ociedoo >/dev/null; then
eval "$(_OCIEDOO_COMPLETE=source ociedoo)"
fi
```
Or if you use zsh, add this to your `/etc/zsh/zshrc`:
```shell
# ociedoo
# =======
if command -v ociedoo >/dev/null; then
eval "$(_OCIEDOO_COMPLETE=source_zsh ociedoo)"
fi
```
Upgrade
-------
### Upgrade for a specific user
#### Upgrade with pipx (recommended python >= 3.6)
```shell
pipx upgrade ociedoo
```
#### Upgrade with pipsi (recommended python < 3.5)
```shell
pipsi upgrade ociedoo
```
#### Upgrade with pip
```shell
pip install --user --upgrade ociedoo
```
### Upgrade system wide (for all users)
#### Upgrade with pipx (recommended python >= 3.6)
```shell
sudo PIPX_HOME=/usr/local PIPX_BIN_DIR=/usr/local/bin pipx upgrade ociedoo
```
#### Upgrade with pipsi (recommended python < 3.5)
```shell
sudo pipsi --bin-dir /usr/local/bin --home /usr/local/venvs upgrade ociedoo
```
#### Upgrade with pip
```shell
sudo pip install --upgrade ociedoo
```
Raw data
{
"_id": null,
"home_page": "https://gitlab.com/coopiteasy/ociedoo",
"name": "ociedoo",
"maintainer": "R\u00e9my Taymans",
"docs_url": null,
"requires_python": ">=3.5,<4.0",
"maintainer_email": "remy@coopiteasy.be",
"keywords": "cli,odoo,coopiteasy",
"author": "Coop IT Easy SCRLfs",
"author_email": "remy@coopiteasy.be",
"download_url": "https://files.pythonhosted.org/packages/d3/54/7247308ab1e522dd346f99d9c32384f1a1e981e3ebcb5ff32f0aa1bae645/ociedoo-0.7.0.tar.gz",
"platform": "",
"description": "[![pipeline status](https://gitlab.com/coopiteasy/ociedoo/badges/master/pipeline.svg)](https://gitlab.com/coopiteasy/ociedoo)\n\nociedoo\n=======\n\nociedoo is a cli collection of tools to simplify the management of odoo\non a server.\n\nSee help for more info.\n\n\nInstallation\n------------\n\nociedoo needs python version >= 3.5. So ensure `pip` points to a correct\nversion of python. To do this run:\n```shell\npip --version\n```\n\nIt should return something like:\n```\npip xx.y from /path/to/pip (python 3.5)\n```\n\nIf `pip` doesn't run python >=3.5, try running `pip3` which is on\ncertain distribution the `pip` for python >=3.\n\n\n### Dependencies\n\nociedoo uses external programs via the shell. Be sure they are installed\nand accessible for the current user.\n\n- psql\n- createdb\n- dropdb\n- systemctl\n\n\n### Install for a specific user\n\n\n#### Installation with pipx (recommended python >= 3.6)\n\n```shell\npipx install ociedoo\n```\n\n\n#### Installation with pipsi (recommended python < 3.5)\n\n```shell\npipsi install ociedoo\n```\n\n\n#### Install with pip\n\n```shell\npip install --user ociedoo\n```\n\n\n### Install system wide (for all users)\n\n\n#### Install with pipx (recommended python >= 3.6)\n\nFirst install pipx if not already installed:\n```shell\nsudo pip install pipx\n```\n\nThen install ociedoo:\n```shell\nsudo PIPX_HOME=/usr/local PIPX_BIN_DIR=/usr/local/bin pipx install ociedoo\n```\n\n\n#### Install with pipsi (recommended python < 3.6)\n\nFirst install pipsi, if not already installed:\n```shell\nsudo curl https://raw.githubusercontent.com/mitsuhiko/pipsi/master/get-pipsi.py | sudo python3 - --bin-dir /usr/local/bin --home /usr/local/venvs --no-modify-path\n```\n\nThen install ociedoo:\n```shell\nsudo pipsi --bin-dir /usr/local/bin --home /usr/local/venvs install ociedoo\n```\n\n\n#### Install with pip\n```shell\nsudo pip install ociedoo\n```\n\n\n### Enable bash completion\n\n\n#### Bash completion for a specific user\n\nTo enable bash completion add the following in your `.bashrc`:\n\n```shell\n# ociedoo\n# =======\nif command -v ociedoo >/dev/null; then\n eval \"$(_OCIEDOO_COMPLETE=source ociedoo)\"\nfi\n```\n\nOr if you use zsh, add this to your `.zshrc`:\n```shell\n# ociedoo\n# =======\nif command -v ociedoo >/dev/null; then\n eval \"$(_OCIEDOO_COMPLETE=source_zsh ociedoo)\"\nfi\n```\n\n\n#### Bash completion system wide (for all users)\n\nTo enable bash completion add the following in `/etc/bash.bashrc`:\n```shell\n# ociedoo\n# =======\nif command -v ociedoo >/dev/null; then\n eval \"$(_OCIEDOO_COMPLETE=source ociedoo)\"\nfi\n```\n\nOr if you use zsh, add this to your `/etc/zsh/zshrc`:\n```shell\n# ociedoo\n# =======\nif command -v ociedoo >/dev/null; then\n eval \"$(_OCIEDOO_COMPLETE=source_zsh ociedoo)\"\nfi\n```\n\n\nUpgrade\n-------\n\n\n### Upgrade for a specific user\n\n\n#### Upgrade with pipx (recommended python >= 3.6)\n\n```shell\npipx upgrade ociedoo\n```\n\n\n#### Upgrade with pipsi (recommended python < 3.5)\n\n```shell\npipsi upgrade ociedoo\n```\n\n\n#### Upgrade with pip\n\n```shell\npip install --user --upgrade ociedoo\n```\n\n\n### Upgrade system wide (for all users)\n\n\n#### Upgrade with pipx (recommended python >= 3.6)\n\n```shell\nsudo PIPX_HOME=/usr/local PIPX_BIN_DIR=/usr/local/bin pipx upgrade ociedoo\n```\n\n\n#### Upgrade with pipsi (recommended python < 3.5)\n\n```shell\nsudo pipsi --bin-dir /usr/local/bin --home /usr/local/venvs upgrade ociedoo\n```\n\n\n#### Upgrade with pip\n\n```shell\nsudo pip install --upgrade ociedoo\n```\n",
"bugtrack_url": null,
"license": "GPL-3.0-or-later",
"summary": "CLI tool to simplify the management of Odoo",
"version": "0.7.0",
"project_urls": {
"Homepage": "https://gitlab.com/coopiteasy/ociedoo",
"Repository": "https://gitlab.com/coopiteasy/ociedoo"
},
"split_keywords": [
"cli",
"odoo",
"coopiteasy"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fec63c9cdc3f7fc15a4eaeafa1c0ebcb7b20023db79f20ec5559c1fb1f3116ae",
"md5": "b042dbfbc0737c1be1521427bae7cd82",
"sha256": "41124259c8a495e7f0c29c563e4eef25b3914dc2e95b6e16e63972d0756b6739"
},
"downloads": -1,
"filename": "ociedoo-0.7.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b042dbfbc0737c1be1521427bae7cd82",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.5,<4.0",
"size": 28118,
"upload_time": "2022-02-15T17:53:16",
"upload_time_iso_8601": "2022-02-15T17:53:16.387362Z",
"url": "https://files.pythonhosted.org/packages/fe/c6/3c9cdc3f7fc15a4eaeafa1c0ebcb7b20023db79f20ec5559c1fb1f3116ae/ociedoo-0.7.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d3547247308ab1e522dd346f99d9c32384f1a1e981e3ebcb5ff32f0aa1bae645",
"md5": "c0d3389bf8b24497706810b0beefbd88",
"sha256": "ff9ad7e8dc9e231aa19a4620d149d63358833c27a956d0fc2f3671964576cd95"
},
"downloads": -1,
"filename": "ociedoo-0.7.0.tar.gz",
"has_sig": false,
"md5_digest": "c0d3389bf8b24497706810b0beefbd88",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5,<4.0",
"size": 27026,
"upload_time": "2022-02-15T17:53:18",
"upload_time_iso_8601": "2022-02-15T17:53:18.294588Z",
"url": "https://files.pythonhosted.org/packages/d3/54/7247308ab1e522dd346f99d9c32384f1a1e981e3ebcb5ff32f0aa1bae645/ociedoo-0.7.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-02-15 17:53:18",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "coopiteasy",
"gitlab_project": "ociedoo",
"lcname": "ociedoo"
}