Add note about postgis taking a time to initialize

This commit is contained in:
Paul Bienkowski 2021-11-25 12:21:19 +01:00
parent 2d8194c7c2
commit 947058e987

View file

@ -106,8 +106,15 @@ Start the PostgreSQL database:
docker-compose up -d postgres docker-compose up -d postgres
``` ```
Then initialize an empty database, creating all extensions and tables The first time you start postgres, a lot of extensions will be installed. This
automatically: 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 ```bash
docker-compose run --rm api tools/reset_database.py docker-compose run --rm api tools/reset_database.py