Coder Social home page Coder Social logo

gongbot-test's Introduction

gongbot-test

This Node.js / AngularJS application integrates a Heroku web service with Twilio and ThingFabric.

Based on thingfabric-heroku-app (with fixes)

Pre-reqs

Heroku

You will need a Heroku account in order to use this sample application.

Twilio

You will need a Twilio account in order to use this sample application.

ThingFabric

You will need a ThingFabric account in order to use this application.

Node.js + NPM

  1. Node.js (version 0.10.18)
  2. NPM (version 1.2.32)
  3. Bower as sudo npm install -g [email protected]
  4. Foreman as sudo npm install -g [email protected]
  5. Express as 'sudo npm install -g express'
  6. Request as 'sudo npm install -g request'

Setup

Deploy manually

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

gongbot-test's People

Watchers

wyx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.