Skip to content

Commit

Permalink
Add heroku deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
keoghpe@tcd.ie committed Sep 12, 2015
1 parent 89b24b9 commit e2851e3
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

node_modules/

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ npm install
export ALEX_TOKEN="your-bot-key"
node index.js
```

##Deploy to Heroku

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
11 changes: 11 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "Alex-Slack",
"description": "An Alex integration for Slack",
"repository": "https://github.com/keoghpe/alex-slack",
"keywords": ["node", "slack", "alex"],
"env": {
"ALEX_TOKEN": {
"description": "Your Slack bot integration token (obtainable at https://my.slack.com/services/new/bot)"
}
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Alex for slack",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js"
},
"author": "keoghpe",
"license": "MIT",
Expand Down

0 comments on commit e2851e3

Please sign in to comment.