项目作者: jennabelle

项目描述 :
A proof-of-concept in sending an automated SMS reply
高级语言: Ruby
项目地址: git://github.com/jennabelle/sms-messaging-with-twilio.git
创建时间: 2016-09-05T08:40:45Z
项目社区:https://github.com/jennabelle/sms-messaging-with-twilio

开源协议:

下载


SMS-Messaging-With-Twilio

Send a text message to +1 (415) 237-9460. Receive an automated reply.

Getting Started

  1. bundle install --without production

Open Secure Tunnel to Localhost

If you do not already have ngrok, please install it.

If you already have ngrok, navigate to directory of where ngrok is stored. You may have to sudo find / -name "ngrok" on Terminal to locate it.

  1. ./ngrok http 3000

Note: If you do not use a tool like ngrok to open a tunnel to your local development environment, then you will need a publicly accessible URL.

To Start Server

  1. rails s

Instructions:

  1. 1. Send a text message to +1 (415) 237-9460
  2. 2. Verify you receive an automated reply, "Hello there, thanks for texting me. Your number is [THE_NUMBER_YOU_TEXTED_FROM]."

Tech Stack

  1. Ruby 2.3.0
  2. Rails 4.2
  3. Twilio API
  4. ngrok