This Node.js / AngularJS application integrates a Heroku web service with Twilio and ThingFabric.
Based on thingfabric-heroku-app (with fixes)
You will need a Heroku account in order to use this sample application.
You will need a Twilio account in order to use this sample application.
You will need a ThingFabric account in order to use this application.
- Node.js (version 0.10.18)
- NPM (version 1.2.32)
- Bower as
sudo npm install -g [email protected]
- Foreman as
sudo npm install -g [email protected]
- Express as 'sudo npm install -g express'
- Request as 'sudo npm install -g request'
git clone https://github.com/theArk0s/gongbot-test.git
cd gongbot-test
npm install
bower install
npm install express
npm install request
heroku create
heroku addons:add thingfabric --app <YOUR_APP_NAME_HERE>
heroku plugins:install git://github.com/ddollar/heroku-config.git
heroku config:pull --app <YOUR_APP_NAME_HERE>
...change a bunch of account-specific variables...
Optionally set the application port (Foreman defaults to 5000
):
export PORT=3000
Run the application locally:
foreman start
Visit the localhost
URL with PORT
you specified!
Pushing the application to Heroku:
git push heroku master
heroku open