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

10 years ago

0.0.26

10 years ago

0.0.25

10 years ago

0.0.24

10 years ago

0.0.23

10 years ago

0.0.22

10 years ago

0.0.21

10 years ago

0.0.20

10 years ago

0.0.19

10 years ago

0.0.18

10 years ago

0.0.17

10 years ago

0.0.16

10 years ago

0.0.15

10 years ago

0.0.14

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago