This is a HTML5 application, built with Brunch, to display bus schedules.
It currently is only working for the Métropole of Rennes, as it uses a specific API to get the schedule itself (positioning data requires extracting information from the GTFS dataset).
- Install (if you don't have them):
- Run:
brunch watch --server
— watches the project with continuous rebuild. This will also launch HTTP server with pushState.brunch build --production
— builds minified project for production
- Learn:
public/
dir is fully auto-generated and served by HTTP server. Write your code inapp/
dir.- Files saved in
app/assets
will be copied as are topublic
. - Write scripts in Javascript or Coffeescript in
app/scripts
. - Write styles in SCSS
app/styles
.
The applications requires a JSON file stored as app/assets/data.json
the provides information about the bus stops and lines.