0.0.28 • Published 9 years ago

hubot-dexma v0.0.28

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

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 npm

Better to have yeoman and hubot generator

sudo npm install -g yo
sudo npm install -g yo generator-hubot

project dependencies

sudo npm install -g xml2js
sudo npm install -g es6-promise
sudo npm install -g google-spreadsheet

testing 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-dev

testing libraries

sudo npm install co --save-dev
sudo npm install chai --save-dev
sudo npm install coffee-script --save-dev

testing

mocha --compilers "coffee:coffee-script/register" test/*.coffee --timeout 15000

publishing

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

0.0.28

9 years ago

0.0.27

9 years ago

0.0.26

9 years ago

0.0.25

9 years ago

0.0.24

9 years ago

0.0.23

9 years ago

0.0.22

9 years ago

0.0.21

9 years ago

0.0.20

9 years ago

0.0.19

9 years ago

0.0.18

9 years ago

0.0.17

9 years ago

0.0.16

9 years ago

0.0.15

9 years ago

0.0.14

9 years ago

0.0.13

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago

0.0.0

9 years ago