Skip to content

Commit

Permalink
Merge pull request #67 from Altonhe/docs/readme
Browse files Browse the repository at this point in the history
docs: update `TEST_API_KEY` configuration
  • Loading branch information
aaronbrethorst authored Mar 21, 2024
2 parents 0ceecde + 8556b7f commit 984cac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ You will then have three webapps available:

- API, hosted at `http://localhost:8080/onebusaway-api-webapp/api?key=TEST`
- an example call could be to `http://localhost:8080/onebusaway-api-webapp/api/where/agencies-with-coverage.json?key=TEST`, which should show metadata about the agency you loaded
- the test/demo API key is set in `./oba/config/onebusaway-api-webapp-data-sources.xml`; this can be changed as needed, and should be deleted before use in production
- the test/demo API key is automatically handled in `oba/bootstrap.sh`, you can change it by setting the `TEST_API_KEY` build args in the `oba_app` service in `docker-compose.yml`

When done using this web server, you can use the shell-standard `^C` to exit out and turn it off. If issues persist across runs, you can try using `docker-compose down -v` and then `docker-compose up oba_app` to refresh the Docker containers and services.

Expand Down

0 comments on commit 984cac5

Please sign in to comment.