Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andyatkinson/shuttle_schedule

Sinatra app to display shuttle bus schedule and stations
https://github.com/andyatkinson/shuttle_schedule

Last synced: about 3 hours ago
JSON representation

Sinatra app to display shuttle bus schedule and stations

Awesome Lists containing this project

README

        

Install
------
To generate new schedule data, remove any generated HTML rows from the `shuttle_schedule.rb`, after the HTML comment. Make sure the gems are available:

bundle

Generate data rows
--------
From the project directory:

chmod +x generate.rb
bundle exec ruby generate.rb

View the output
------
Verify that new HTML data rows have been appended to `shuttle_schedule.rb`, based on the data file, `shuttle_schedule_data.csv`.

rackup

Navigate to http://localhost:9292 and verify the output rows.