Skip to content

unmonastery/untransit

Repository files navigation

Stories in Ready

Install and run

In order to install dependencies and start the server, type the follwing commands

$ npm install
$ grunt
$ bower install
$ node server.js

Now the app is running at http://localhost:8080

Contributing

Pleaese read CONTRIBUTING.md

Setting a GTFS dataset

GTFS files are located in directory /public/data

GTFS files are grouped by cities. At the moment, you can select just one city dataset.

You need to generate json files from csv files with this command

$ grunt csv2json

You can choose which dataset to use changing app config file in /js/config/options.js

define({
  'dataset':'pavia'
});

You need to specify the name of the directory where your dataset is.

Examples

Show all stops

http://localhost:8080/stops/

Show stop pv0101 (Pavia dataset)

http://localhost:8080/stops/pv0101

When you click on a time in the stop panel, the route followed by that particular trip is highlighted.

Credits

Built with Chaplin.js

About

Public Transport in Matera and beyond

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published