RegCtl runs in a docker container.
RegCtl uses the Google Maps API for geocoding. You will need to create a Google API key and enable the Geocoding API.
Set up your credentials at https://console.cloud.google.com/apis/credentials.
- Add an API key
- Make sure the API is credentialed to use the Geocoding API
cp Ctl/dev/env.example Ctl/dev/.env
Edit the .env file and set the following variables:
GOOGLE_MAPS_API_KEY=your_google_api_key
If no API key is provided, the geocoding data points will be empty.
Ctl/dev/compose.sh build
In your environment (not in the .env file), set the port you want to run the container on:
export FASTAPI_PORT=8000
Ctl/dev/compose.sh up