/transitmix

.

Primary LanguageJavaScriptISC LicenseISC

Transitmix Build Status

Transitmix is a sketching tool for transit planners. The tool makes it easy to draw new transit lines, understand the underlying costs, and share ideas with the public. So far, Transitmix been used to generate 30,000 new transit maps for more than 3,600 cities across the world, all powered by open data and data standards (OpenStreetMap, Open Source Routing Machine, and the Google Transit Feed Specification.

The project comes from a team at Code for America, a non-profit based in San Francisco focused on building better cities through technology.

Contact us at transitmix@codeforamerica.org.

Who is this made by?

With additional help from Jason Denizac, Becky Boone, Maksim Pecherskiy, and Andrew Douglass.

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.

Using the command line, 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

Deploying to Heroku

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

Additional Setup Notes

Error Logging

Transitmix can be configured to log runtime errors to an external service like Airbrake or Errbit. Set the ERROR_LOG_KEY and ERROR_LOG_HOST environment variables to enable the extension.

Testing References