Skip to content

noahsilas/yp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yp

YellowPages: a lightweight telephone directory

Setting Up

gem install bundler
git clone https://github.com/noahsilas/yp.git
cd yp
bundle install

Configuration

YP is configured via environment variables, as a Twelve-Factor App. It reads a CSV from the web to populate the directory. We expect the first row to have headers 'Name' and 'Phone'. Pass the URL for this CSV to the application as YP_PHONEBOOK_URI.

export YP_PHONEBOOK_URI='http://example.com/directory.csv'

Running the YP server

From the project root:

bundle exec ruby yp.rb

Running tests

bundle exec rspec

Twilio Configuration

Voice Request Url: /twilio/incoming

Known Limitations

  • A search that has more than ten results won't return the complete list, as we can't index into it with a single keypress.

About

A very simple telephone directory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages