Skip to content

Generation of configuration JSONs for Geoportal JS APIs

Notifications You must be signed in to change notification settings

IGNF/geoportal-configuration

Repository files navigation

geoportal-configuration

Generation of configuration JSONs for Geoportal JS APIs

Dependency install

pip3 install -r requirements.txt

CLI usage

python main.py key1 key2...$

Config files are generated in dist directory

Launch web interface

Without Docker

python -m flask run --host=0.0.0.0

With Docker

docker build --tag gpconnfig . && docker run gpconfig

Use web interface

Form

Go to the index of the deployed web inteface with a web browser. Example: https://geoportal-configuration.onrender.com/

API

curl http://host:port/api?key1,key2,...

Example: https://geoportal-configuration.onrender.com/api?keys=essentiels

About

Generation of configuration JSONs for Geoportal JS APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •