A faster way to lookup bus times for Pittsburgh, PA.
After installing Elixir and postgres (I used brew for both), you're just a few steps away.
- Install dependencies with
mix deps.get - Create whenbus with
createdb whenbus - Create testing databse with
createdb whenbustest
In the postgres shell, for both test & main database, run
CREATE EXTENSION cube;
CREATE EXTENSION earthdistance;
mix whenbus.loadTripsmix whenbus.loadStopsmix whenbus.loadTimesmix ecto.migrateMIX_ENV=test mix ecto.migratemix phoenix.server
Also to note, styling is done with compass. Install it how you like and compass compile or compass watch
Hopefully whenbus is now running locally, let me know if you have any issues :)