From 947058e9872353bc8a9f0bfaa86d7b935cd4760b Mon Sep 17 00:00:00 2001 From: Paul Bienkowski Date: Thu, 25 Nov 2021 12:21:19 +0100 Subject: [PATCH] Add note about postgis taking a time to initialize --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 53ef7d3..e5d563f 100644 --- a/README.md +++ b/README.md @@ -106,8 +106,15 @@ Start the PostgreSQL database: docker-compose up -d postgres ``` -Then initialize an empty database, creating all extensions and tables -automatically: +The first time you start postgres, a lot of extensions will be installed. This +takes a while, so check the logs of the docker container until you see: + +> PostgreSQL init process complete; ready for start up. + +If you don't wait long enough, the following commands might fail. + +Next, initialize an empty database, creating all extensions and tables +for the application at once: ```bash docker-compose run --rm api tools/reset_database.py