Skip to content

mesteban-22/yeswebike

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 

Repository files navigation

Yes We Bike

We are a group of students from Data Engineering in Universidat Autònoma de Barcelona, this is our dashboard proyect. Our goal is to provide helpful information about the state of Barcelona's public bike service, Bicing.

Our proyect

We are using plotly for our visualizations and the Flask framework for serving our app, thus we follow their convenctions for static and templates folders. visualizations contains the scripts for all the real-time visualizations. All the graphs based on our graph of the network are precomputed and stored as htmls inside the templates folder.

For our UI we are using the Soft UI Dasboard based on Bootstrap 4 from Creative Tim.

Data

In order to get all the needed files you must execute the following command.

bash fetch_data.sh

How to

In order to execute correctly this app you will need Docker and Docker-compose installed in your system. Afterwards you should execute the following command on your terminal.

cd source/docker && docker-compose up

This docker-compose will create the app image and get from docker-hub the latest postgres image for the database, insert all required data and start up the app. It is accessible through the port 8000 in your localhost.