Home

Awesome

RefugeRestrooms: SMS Server

A RESTful web API for SMS search by RefugeRestrooms.

===================================

Local Installation:

Download & install the latest version of node.js at http://nodejs.org.

Download & install the Heroku toolbelt at https://toolbelt.heroku.com.

Clone the git repository:

$ git clone git@github.com:tkwidmer/refugerest_sms.git

Install third-party modules from npm:

$ cd refugerest_sms
$ npm install

Create a .env file under the server's root for local environment variables. You'll need to set the following values:

PG_NATIVE=true
DATABASE_URL=[YOUR_POSTGRES_CONNECTION_URL]
TWILIO_ACCOUNT_SID=[YOUR_TWILIO_SID]
TWILIO_AUTH_TOKEN=[YOUR_TWILIO_AUTH_TOKEN]

Start the server!

$ foreman start