Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Adding a web port to enable heroku monitoring (placeholder)

  • Loading branch information...
commit 94e26d645feec48ae8d8385e0e7981c4e4096bdf 1 parent 05df143
Chad Humphries spicycode authored

Showing 2 changed files with 12 additions and 0 deletions. Show diff stats Hide diff stats

  1. +11 0 bot.coffee
  2. +1 0  package.json
11 bot.coffee
@@ -10,3 +10,14 @@ Computron.connect({
10 10 appId: process.env.PLUGINS_BING_APP_ID
11 11
12 12 })
  13 +
  14 +express = require('express')
  15 +
  16 +app = express.createServer(express.logger())
  17 +
  18 +app.get '/', (request, response)->
  19 + response.send('Hello from Computron')
  20 +
  21 +port = process.env.PORT || 3000
  22 +app.listen port, ()->
  23 + console.log("Listening on " + port)
1  package.json
@@ -12,6 +12,7 @@
12 12 "author": "Chad Humphries <chad.humphries@gmail.com> (http://spicycode.com)",
13 13 "directories": { "lib": "./lib" },
14 14 "dependencies": {
  15 + "express": ">= 2.4.6",
15 16 "underscore": ">= 1.1.7",
16 17 "coffee-script": ">= 1.1.1",
17 18 "request": ">= 2.0.1"

0 comments on commit 94e26d6

Please sign in to comment.
Something went wrong with that request. Please try again.