Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Latest commit

 

History

History
73 lines (43 loc) · 1.53 KB

README.md

File metadata and controls

73 lines (43 loc) · 1.53 KB

Count My Bike

Nice visualisation of Bike counter in Brussel.

Data source

Count My Bike is based on http://opendatastore.brussels Bike counting pole Data. The data are under the Brussels OpenData License

Meteo : weatherbit

Installation

Backend

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

Frontend

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)

Quick Todo:

  • Remove Lorem ipsum
  • Add Smart city + Cyclop links ?
  • Deploy story

Wishlist

  • Responsive
  • Ensure Timezone ready-ness
  • Backend Code cleanup
  • FallBack when API fails ( vrai-o-tron, ...)

Contributors

License

Yet to define