https://github.com/andyatkinson/shuttle_schedule
Sinatra app to display shuttle bus schedule and stations
https://github.com/andyatkinson/shuttle_schedule
Last synced: about 2 months 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 (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-11-13T21:35:47.000Z (over 12 years ago)
- Last Synced: 2025-03-01T17:48:16.802Z (over 1 year 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.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.