hubot-dexma
v0.0.28
Published
A hubot script that does the things
Readme
hubot-dexma
A hubot script that does the things
See src/dexma.coffee for full documentation.
install
You will need node.js and npm.
sudo apt-get install nodejs npmBetter to have yeoman and hubot generator
sudo npm install -g yo
sudo npm install -g yo generator-hubotproject dependencies
sudo npm install -g xml2js
sudo npm install -g es6-promise
sudo npm install -g google-spreadsheettesting dependencies
for testing purposes we will need
framework for unit testing Hubot scripts
sudo npm install hubot-test-helper --save-dev
a JavaScript testing framework
sudo npm install mocha --save-devtesting libraries
sudo npm install co --save-dev
sudo npm install chai --save-dev
sudo npm install coffee-script --save-devtesting
mocha --compilers "coffee:coffee-script/register" test/*.coffee --timeout 15000publishing
npm publish ./Installation on hubot instance
In hubot project repo, run:
npm install hubot-dexma --save
Then add hubot-dexma to your external-scripts.json:
[
"hubot-dexma"
]Sample Interaction
user1>> hubot hello
hubot>> hello!get google credentials ( google accounts service), This point is really a challenge
go to : https://console.developers.google.com
login
Click on dropdown menu on left side of top menu -> Products & Services
Click on permissions on shown menu
Then on the new page click on the second tab -> Service accounts
Create service accounts
You think is done? hell no, there isn't a key created
on the list click on the right side of your newest and cool item and select create key type json
npm publish ./ npm install hubot-dexma
