[IMP] install: troubleshoot typical problems for Mac users

When installing requirements, the psycopg requirement can fail
because the $PATH does not contain the postgresql tools installed with
the .app.

This commit provides instructions to avoid this issue.

task-2922249

closes odoo/documentation#2506

X-original-commit: c40cf83073
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
Benoit Socias 2022-07-18 12:39:06 +00:00
parent 0866b08510
commit be801ed80e

View File

@ -478,6 +478,11 @@ PostgreSQL
<https://postgresapp.com>`_ to download and install PostgreSQL (supported version: 10.0 and
later).
.. tip::
To make the command line tools bundled with `postgres.app` available, make sure to setup your
`$PATH` variable by following the `Postgres.app CLI Tools Instructions
<https://postgresapp.com/documentation/cli-tools.html>`_.
By default, the only user is `postgres` but Odoo forbids connecting as `postgres`, so you need
to create a new PostgreSQL user: