Skip to content

A (partial) web utility that checks the surf report and calls or texts people when the surf is good.

Notifications You must be signed in to change notification settings

alexlod/surfalert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rails app that uses APIs to check if the surf is good and send a SMS to wake someone up.

Setup

Setup your env with the following variables:

  • TWILIO_ACCOUNT_SID -- Twilio Account SID
  • TWILIO_SECRET= -- Twilio secret token
  • TWILIO_FROM_NUMBER -- number to send SMSes from (the Twillio number)
  • TWILIO_TO_NUMBER -- number to send SMSes to
  • WUNDERGROUND_API_KEY -- wunderground.com API key

Setup config/database.yml with a development and test database.

Run $ rake db:migrate to setup your database.

Run $ rake check_and_send to check the surf and send a SMS if appropriate.

Running tests

Run $ rake spec

Current Status

This app is in development. Do not expect it to work.

About

A (partial) web utility that checks the surf report and calls or texts people when the surf is good.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published