If you would like an Heroku account to deploy and use this web application, go to this link (https://heroku.com) and you can Sign up for free, and use it for free.
When you deploy to Heroku, you will be prompted for an app name. The name needs to be unique. Example, use your name+hero (example: davidhero). Click Deploy app. Once the application is deployed, click Manage app. Set Heroku project environment variables by clicking Settings. Click Reveal Config Vars. Add the following key value pair:
ACCOUNT_SID=your_account_SID (starts with "AC") AUTH_TOKEN=your_account_auth_token TOKEN_PASSWORD : your_sms_password which you create for your users.
To keep the same URL, remove the old app by using the Heroku dashboard: https://dashboard.heroku.com, Select the app, click Settings, go to the bottom, click Delete app. Then, from, https://github.com/tigerfarm/tigsms, click Deploy to Heroku button. Note, you will need to re-enter the above Config Vars.
SMS Application web browser screen print:
Following are the steps to run the SMS Web Application on your local host computer.
Download this repository's zip into a working directory and unzip it. Create an environment variable that is your Twilio Function Runtime Domain. Example:
$ export ACCOUNT_SID your_account_SID $ export AUTH_TOKEN your_account_auth_token $ export TOKEN_PASSWORD your_self_created_sms_password
You can view your Your Runtime Domain from here:
Run the Node.JS server program:
$ node nodeHttpServer.js
Use your browser to use the client: http://localhost:8000 Enter the SMS form values. Click Send to the message.