[IMP] developer/cli: mention the different ways of calling the CLI
All examples on the page suggest calling the CLI with "odoo-bin" while
it is recommended to call it with "odoo" when Odoo was installed from a
distribution package. It also failed to mention the location of
"odoo-bin" relative to the source files.
The chance is also taken to rename the somewhat unclear page title to
something more clear and generic.
closes odoo/documentation#1699
X-original-commit: c018a53686
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
@@ -646,8 +646,7 @@ A typical way to run the server would be:
|
||||
|
||||
Where `CommunityPath` is the path of the Odoo Community installation, `dbuser` is the
|
||||
PostgreSQL login, `dbpassword` is the PostgreSQL password and `mydb` is the default database
|
||||
to serve on `localhost:8069`. You can add other directory paths separated by a comma to
|
||||
`addons` at the end of the `addons-path` option.
|
||||
to serve on `localhost:8069`.
|
||||
|
||||
.. group-tab:: Linux
|
||||
|
||||
@@ -657,8 +656,7 @@ A typical way to run the server would be:
|
||||
$ python3 odoo-bin --addons-path=addons -d mydb
|
||||
|
||||
Where `CommunityPath` is the path of the Odoo Community installation and `mydb` is the default
|
||||
database to serve on `localhost:8069`. You can add other directory paths separated by a comma
|
||||
to `addons` at the end of the `addons-path` option.
|
||||
database to serve on `localhost:8069`.
|
||||
|
||||
.. group-tab:: Mac OS
|
||||
|
||||
@@ -668,8 +666,10 @@ A typical way to run the server would be:
|
||||
$ python3 odoo-bin --addons-path=addons -d mydb
|
||||
|
||||
Where `CommunityPath` is the path of the Odoo Community installation and `mydb` is the default
|
||||
database to serve on `localhost:8069`. You can add other directory paths separated by a comma
|
||||
to `addons` at the end of the `addons-path` option.
|
||||
database to serve on `localhost:8069`.
|
||||
|
||||
.. seealso::
|
||||
- :doc:`The exhaustive list of arguments for odoo-bin </developer/misc/other/cmdline>`.
|
||||
|
||||
.. _setup/install/docker:
|
||||
|
||||
@@ -677,7 +677,7 @@ Docker
|
||||
======
|
||||
|
||||
The full documentation on how to use Odoo with Docker can be found on the
|
||||
official Odoo `docker image <https://registry.hub.docker.com/_/odoo/>`_ page.
|
||||
official Odoo `docker image <https://hub.docker.com/_/odoo/>`_ page.
|
||||
|
||||
.. _Debian 11 (Bullseye): https://www.debian.org/releases/bullseye/
|
||||
.. _demo: https://demo.odoo.com
|
||||
|
||||
Reference in New Issue
Block a user