Nice visualisation of Bike counter in Brussel.
Count My Bike is based on http://opendatastore.brussels Bike counting pole Data. The data are under the Brussels OpenData License
Meteo : weatherbit
You need python2 and mysql database to host the data fetching part and only a webserver to host the visualisation part.
first create a virtualenv:
virtualenv venv
source venv/bin/activate
then install python requirements :
pip install -r backend/requirements.txt
then add configuration in the .env file:
cp backend/env.dist backend/.env
then a run (probably with a cron)
python backend/main.py
To run the frontend you must have yarn installed and go to the frontend
directory
then
yarn install
and
yarn serve
or yarn build
( build create a deployable file )
then serve the dist
folder (and be sure to have data.json
exported by the backend at the root)
- Remove Lorem ipsum
- Add Smart city + Cyclop links ?
- Deploy story
- Responsive
- Ensure Timezone ready-ness
- Backend Code cleanup
- FallBack when API fails ( vrai-o-tron, ...)
Yet to define