Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Puch authored and Andrew Puch committed May 1, 2016
2 parents 8f2d713 + 9c65e34 commit efa3a59
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 6 deletions.
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
# Hubot Slack Example
Writing a bot using hubot in javascript that runs server side that integrates with your AWS infrastructure.

```
sudo su
mkdir -p /root/chatbot && cd /root/chatbot
apt-get update
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
apt-get install nodejs -y
npm install -g yo generator-hubot
mkdir -p /root/.config/configstore/
chmod g+rwx /root /root/.config /root/.config/configstore
cd /opt
git clone spotbot
cp /opt/spothook/ops/spotbot/config/insight-yo.json /root/.config/configstore/
cp /opt/spothook/ops/spotbot/config/update-notifier-yo.json /root/.config/configstore/
cd /opt/spothook/ops/spotbot
chmod g+rwx /root /root/.config /root/.config/configstore /root/chatbot
yo hubot
rm -rf node_modules/
rm package.json
**Copy package json from github**
npm install && npm update
**Copy scripts folder from github**
```
19 changes: 19 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "chatbot",
"version": "0.0.0",
"private": true,
"author": "[email protected]",
"description": "Communication bot.",
"dependencies": {
"aws-sdk": "^2.3.7",
"bluebird": "^3.3.5",
"hubot": "^2.17.0",
"hubot-help": "^0.1.2",
"hubot-heroku-keepalive": "^1.0.0",
"hubot-redis-brain": "0.0.3",
"hubot-slack": "^3.4.2"
},
"engines": {
"node": "0.10.x"
}
}

0 comments on commit efa3a59

Please sign in to comment.