Skip to content

bontaq/whenbus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

  1. Install dependencies with mix deps.get
  2. Create whenbus with createdb whenbus
  3. Create testing databse with createdb whenbustest

In the postgres shell, for both test & main database, run

CREATE EXTENSION cube;
CREATE EXTENSION earthdistance;
  1. mix whenbus.loadTrips
  2. mix whenbus.loadStops
  3. mix whenbus.loadTimes
  4. mix ecto.migrate
  5. MIX_ENV=test mix ecto.migrate
  6. mix 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 :)

About

Simple way to find stops, buses, and times for Pittsburgh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published