0.0.28 • Published 8 years ago

hubot-dexma v0.0.28

Weekly downloads
1
License
MIT
Repository
github
Last release
8 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

8 years ago

0.0.27

8 years ago

0.0.26

8 years ago

0.0.25

8 years ago

0.0.24

8 years ago

0.0.23

8 years ago

0.0.22

8 years ago

0.0.21

8 years ago

0.0.20

8 years ago

0.0.19

8 years ago

0.0.18

8 years ago

0.0.17

8 years ago

0.0.16

8 years ago

0.0.15

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago