21 lines
559 B
Markdown
21 lines
559 B
Markdown
# Search a metering point using the EDSN API
|
|
Web-app with Python and Flask
|
|
|
|
|
|
## Generate an API key
|
|
Go to https://gateway.edsn.nl/eancodeboek
|
|
|
|
## Update config.json
|
|
Update the API key token in the config.json file
|
|
|
|
|
|
## Docker
|
|
For building and running the app via Docker
|
|
```
|
|
docker build -t ecb:latest .
|
|
docker image tag ecb:latest 10.0.1.36:5000/fokki200/ecb:latest
|
|
docker push 10.0.1.36:5050/fokki200/ecb:latest
|
|
docker run -d --name ecb -p 5000:5000 10.0.1.36:5000/fokki200/ecb:latest
|
|
docker stack deploy --compose-file ~/code/ecb/docker-compose.yml ecb
|
|
```
|