- In main folder:
git submodule init
git submodule update
- build & run docker compose
docker-compose --env-file=.env.example build
docker-compose --env-file=.env.example up --detach
- To populate
users
andcores
in database run:
docker-compose --env-file=.env.example run --rm core-api python load_users.py
docker-compose --env-file=.env.example run --rm core-api python load_cores.py
You do not have to populate cores - if the database does not contain cores, it will be fetched during the get (it takes time).
- You can navigate api via http://127.0.0.1:8000/docs
Due to problematic API limits, pagination are omitted (offset in graph with sorting will result in overlapping core_id sets)