From f3e6651387e908df1772de5ddd74128eb5348f30 Mon Sep 17 00:00:00 2001 From: Kevin Hurley Date: Sun, 11 Feb 2024 21:07:49 -0600 Subject: [PATCH] Fix example_data.sh so that it points to the correct location of docker-entrypoint.sh --- README.md | 2 +- docker/scripts/example_data.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 590bddf..3058b86 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ testing data in your database (note: this may fail if you have never run `make r **Please note:** if you do *not* use the example data, you will need to install the extension `pgcrypto` before running any migrations (via the SQL `create extension pgcrypto;`). -At this point, you can execute `make run` to start a local development server, and view your +At this point, you can execute `make up` to start a local development server, and view your site's API documentation at . From within the API docs, you can query the API directly and inspect its output. If you need diff --git a/docker/scripts/example_data.sh b/docker/scripts/example_data.sh index 0cc2a45..a7d7efa 100755 --- a/docker/scripts/example_data.sh +++ b/docker/scripts/example_data.sh @@ -3,7 +3,7 @@ echo 'Populating example data...' # Source the functions we need to get the database up and running -source /docker-entrypoint.sh +source ./usr/local/bin/docker-entrypoint.sh # Launch the temporary server using the same logic as the entrypoint export PGPASSWORD="${PGPASSWORD:-$POSTGRES_PASSWORD}"