-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
16 lines (12 loc) · 872 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
== 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