Skip to content

gkubaryk/twintro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

== README

Welcome to TwIntro, a simple intro to Twilio that sends text messages to a specified phone number.

dotenv-example is provided as an example; rename it to .env and replace the placeholders with actual API keys and a source phone number.

Tips for getting started:
You'll need a Twilio account; a trial account works just fine! You will only be able to send messages to a verified phone number (ie, yourself). Remember to use live credentials; the test credentials serve a different purpose.
Put your credentials and phone number in .env (see dotenv-example)
bundle exec rake db:create db:migrate
bundle install
rails server

Helpful hints:
spring won't automatically reload your .env; you may need to restart rails after changing .env
rails will not automatically shut down spring on exit; you can use 'bin/spring stop' to do that, or simply close the terminal