Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix example_data.sh so that it points to the correct location of docker-entrypoint.sh #105

Merged
merged 1 commit into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <http:localhost:8000>.

From within the API docs, you can query the API directly and inspect its output. If you need
Expand Down
2 changes: 1 addition & 1 deletion docker/scripts/example_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
Loading