Skip to content

Latest commit

 

History

History
85 lines (58 loc) · 3.09 KB

README.md

File metadata and controls

85 lines (58 loc) · 3.09 KB

Transitmix

Transitmix is a sketching tool for transit planners (both professional and armchair) to quickly design routes and share with the public. It lives at transitmix.net.

About

What does this do now?

  • You can draw your own routes by dragging and dropping points and it snaps to a street grid.
  • You can input stats like headway ("bus comes every X min"), speed (mph), and operating hours.
  • It outputs stats like distance of route, # of buses required, and total cost.

What will this do in the future?

  • It will take customizable inputs for layover percentage, cost per revenue hour, annual service days, and perhaps bus capacity.
  • It will output round trip / cycle time, revenue hours per day, and estimated ridership
  • It will allow users to import custom data for decision making (i.e. census data, residential density, employment density, etc.)

What does this not do?

  • Transitmix is not (yet) a replacement for professional transit operations planning and scheduling.

Who is this made by?

With additional help from Jason Denizac, Lyzi Diamond, and Andrew Douglass.

Reach out to all of us at [email protected].

How did this project start?

Transitmix was started as a Code for America hackathon project in January 2013, by the Atlanta fellowship team. It was inspired by a similar project, Streetmix and from talks with transit planners.

How can I help?

  • Check out our github issues page here.

Setup

Transitmix is a Ruby application with a PostgreSQL database.

  1. Install PostgreSQL.
  2. Install Ruby.

Finally, clone Transmitmix from Github and prepare the database:

git clone https://github.com/codeforamerica/transitmix.git
cd transitmix
cp .env.sample .env
bundle install
rake db:create db:migrate
rake db:create db:migrate DATABASE_URL=postgres://localhost/transitmix_test
bundle exec rackup

Deploy to Heroku

heroku create <app name>
heroku addons:add heroku-postgresql
git push heroku master
heroku run rake db:migrate
heroku open

Various Setup Notes

  • Install PostGres via brew install postgres, event if you have Postgres.app otherwise bundle install will keep failing.
  • If you wish to work on Sinatra and want auto-reload per file change:
gem install rerun
rerun 'bundle exec rackup'

Tests