Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/andyatkinson/shuttle_schedule
- Owner: andyatkinson
- Created: 2013-11-13T21:34:28.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-13T21:35:47.000Z (almost 11 years ago)
- Last Synced: 2024-10-09T03:41:16.801Z (about 1 month ago)
- Language: Ruby
- Homepage:
- Size: 121 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.rbView 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.