Prerequisites
- Docker installed
CLIENT_IDandCLIENT_SECRETcreated from Globus Developers Setting
Getting up and running
- Create a
.envfile undersrc/settings- For an example, please see
src/settings/example.env - Add the
CLIENT_IDandCLIENT_SECRETand setRUN_ENVIRONMENT=localin the.envfile
- For an example, please see
- To build the local Confluent kafka environment, run
docker compose -f compose-kafka.yaml upThis can take a minute or two to complete. - To run the FastAPI container locally, run
docker compose up --build- Builds the
localtarget of theDockerfile: plain HTTP onhttp://localhost:8000, with--reloadagainst./src - Or without compose:
docker build --target local -t stac-transaction-api:local . docker run --rm -p 8000:8000 \ --env-file ./src/settings/.env \ -v ./src:/var/task -v /var/task/.venv \ stac-transaction-api:local
- Builds the
- Add Consumer support
- Add Discovery support