Generation of configuration JSONs for Geoportal JS APIs
pip3 install -r requirements.txt
python main.py key1 key2...
$
Config files are generated in dist
directory
python -m flask run --host=0.0.0.0
docker build --tag gpconnfig . && docker run gpconfig
Go to the index of the deployed web inteface with a web browser. Example: https://geoportal-configuration.onrender.com/
curl http://host:port/api?key1,key2,...
Example: https://geoportal-configuration.onrender.com/api?keys=essentiels