From 038fcc02b2eb96036ea85ad21ad517bb0b0acfff Mon Sep 17 00:00:00 2001 From: Amanda Date: Mon, 19 Apr 2021 01:04:34 -0700 Subject: [PATCH] Adding a hint to Hello World This note helps people who are hitting this error `{"hint":null,"details":null,"code":"42P01","message":"relation \"api.todos\" does not exist"}` https://github.com/PostgREST/postgrest/issues/1009 --- tutorials/tut0.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tutorials/tut0.rst b/tutorials/tut0.rst index 4d39ca5e7..04e6420a3 100644 --- a/tutorials/tut0.rst +++ b/tutorials/tut0.rst @@ -165,7 +165,10 @@ PostgREST uses a configuration file to tell it how to connect to the database. C db-schema = "api" db-anon-role = "web_anon" -The configuration file has other :ref:`options `, but this is all we need. Now run the server: +The configuration file has other :ref:`options `, but this is all we need. +If you are not using Docker, make sure that your port number is correct and replace `postgres` with the name of the database where you added the todos table. + +Now run the server: .. code-block:: bash