This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nodejs": [ | |
{ | |
"version": "0.10.18", | |
"npm": "1.3.8" | |
}, | |
{ | |
"version": "0.10.21", | |
"npm": "1.3.11" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "node-version", | |
"version": "0.0.0", | |
"private": true, | |
"scripts": { | |
"start": "node ./bin/www" | |
}, | |
"engines": { | |
"node": "0.10.32" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npm install —save hubot-slack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git init | |
$ git add . | |
$ git commit -m “Initial Commit” |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bin/hubot | |
Hubot> Hubot help | |
Hubot adapter - Reply with the adapter | |
Hubot animate me <query> - The same thing as `image me`, except adds a few parameters to try to return an animated GIF instead. | |
Hubot echo <text> - Reply back with <text> | |
Hubot help - Displays all of the help commands that Hubot knows about. | |
Hubot help <query> - Displays all help commands that match <query>. | |
Hubot image me <query> - The Original. Queries Google Images for <query> and returns a random top result. | |
Hubot map me <query> - Returns a map view of the area returned by `query`. | |
Hubot mustache me <query> - Searches Google Images for the specified query and mustaches it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ heroku login | |
Enter your Heroku credentials. | |
Email: niklas@hardcoded.se | |
Password (typing will be hidden): | |
Authentication successful. | |
updating...done. Updated to 3.26.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ heroku create --region eu | |
Creating gentle-sands-946h7... done, region is eu | |
https://gentle-sands-9467.herokuapp.com/ | https://git.heroku.com/gentle-sands-9467.git | |
Git remote heroku added | |
$ heroku apps:rename acastbot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ heroku config:add HEROKU_URL=https://botname.herokuapp.com | |
$ heroku config:add HUBOT_SLACK_TOKEN=xoxb-1234-5678-12345-12345 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ heroic add ons:add redistogo:nano | |
Adding redistogo:nano on acastbot... done, v7 (free) | |
Use `heroku addons:docs redistogo` to view documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web: bin/hubot --adapter slack --name botname |
OlderNewer