This is a Ruby on Rails app in process.
- Will allow my Twilio account to text validated numbers.
- You can add contacts and text them (but again, numbers must be validated).
- Validated numbers can text the app "weather " to receive a forecast. They can add "long" to the text to receive an extended forecast.
- Perhaps adding a paid tier to Twilio, so I can validate other numbers through the app.
- Deploy to Heroku and use that enpoint, rather than ngrok locally, to receive text messages.
- Deploy to Heroku and use the Heroku scheduler OR ActionJob/sidekiq to send weather updates every day.
I made this app on the day that S3 went down, so currently Heroku is MIA
- Clone
rake db:setup
bundle install
- Insert TWILIO_AUTH_TOKEN, TWILIO_ACCOUNT_SID, SAMPLE_RECEIVER_PHONE_NUMBER, SAMPLE_SENDER_PHONE_NUMBER into .env file
- Insert twilio_sid, twilio_token, and twilio_number in config/secrets.yml (could probably refactor this or the .env file out)
./ngrok 3000
- You may need to change the inbound route at this point. See this article
rails s
- Ruby on Rails
- Twilio API
- Open Weather API
- Many cool gems
- Testing: Rspec, Capybara, PhantomJS, Simplecov, VCR.