Recreating an awesome power generation graphic from the Guardian. See tper.co.uk/coal for the result
- Get an API key by following the BMRS API guide
- Save the key as an environment variable caled
bmrs_key
To deploy locally:
- Start Docker
- Save environment variable
bmrs_key
sam build
sam local start-api
orsam local invoke
To deploy to prod:
- Save environment variable
bmrs_key
sam deploy --parameter-overrides ParameterKey=Key,ParameterValue=$bmrs_key