Skip to content

Instantly share code, notes, and snippets.

@mexitek
Created October 30, 2011 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mexitek/1326106 to your computer and use it in GitHub Desktop.
Save mexitek/1326106 to your computer and use it in GitHub Desktop.
Github's hubot on Joyent's No.de machines. Read the comments for instructions.
{"version": "v0.4.11"}
{
"name": "hosted-hubot",
"version": "0.1.0",
"author": "GitHub Inc.",
"keywords": "github hubot campfire bot",
"description": "A simple helpful Robot for your Company",
"licenses": [{
"type": "MIT",
"url": "http://github.com/github/hubot/raw/master/LICENSE"
}],
"repository" : {
"type" : "git",
"url" : "http://github.com/github/hubot.git"
},
"dependencies": {
"hubot": ">= 1.1.3",
"hubot-scripts": ">= 1.1.1",
"optparse": "1.0.1"
},
"scripts": { "start": "./bin/hubot --adapter campfire" }
}
@mexitek
Copy link
Author

mexitek commented Oct 30, 2011

Hubot on Joyent's no.de Machines

You can get hubot running successfully with little effort. Here are the few changes needed.

  1. Create config.json
    • This tells no.de which node.js version you would like to run for your app
  2. Add ONE extra line to the package.json "scripts": { "start": "./bin/hubot --adapter campfire" }
    • This line is the command to start your node.js app. You can pass different params depending on how you want your hubot to behave.
  3. Push to no.de via Git. Win!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment