!! WIP !!
A portal to share and display meteofrance opendata.
The idea of this portal is to share meteo france opendata because :
- We are skier, and checking the meteofrance web site every day during winter is a PITA
- nivo data is not display bit it is still useful
- having history of the snow is super important.
We aim to display three type of data.
Make an entry in /etc/hosts
127.0.1.1 nivo.test api.nivo.test
docker-compose up -d
Go to http://nivo.test in your browser
openapi, powered by python(3). Tested on python3.7 and 3.8 and 3.9.
See README.md in api folder
- Clone
cd api- Make a virtualenv (
pew,mkvirtualenvorvirtualenv .venv && .venv/bin/activate pip install -r requirements.txt -r dev-requirements.txt- Run
python app.pyit listen onhttp://localhost:5000 - You can
pip install -e .if you want to use cli directly. - To init the database, you can use the
init_dbcmd that comes if you runpip install -e .
If you just want to run it for frontend dev :
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d
in the api/ folder
We are not web dev, PR appreciated if you are master of the css, lord of the js.
See README.md in frontend folder
cd frontendnpm inpm run serve
Docker. But it's quite standard python. So you can run it with anything that can run WSGI server (Apache, gunicorn, uwsgi, waitress, etc...).