Merge pull request #3 from 67P/feature/hubot-kredits

Kredits FTW
This commit is contained in:
Basti 2017-05-11 18:16:21 +02:00 committed by GitHub
commit 5b4ec272b0
3 changed files with 11 additions and 1 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ node_modules
.DS_Store*
.hubot_history
/tmp
wallet.json

View File

@ -4,7 +4,7 @@
"private": true,
"scripts": {
"start": "./run.sh",
"ngrok": "ngrok http -region=ap -hostname=hubot-dev.kosmos.org localhost:8080"
"ngrok": "ngrok http -region=ap -hostname=hubot-dev.kosmos.org localhost:8888"
},
"authors": [
"Sebastian Kippe <sebastian@kip.pe>",
@ -19,6 +19,7 @@
"hubot-help": "^0.1.1",
"hubot-incoming-webhook": "^1.0.1",
"hubot-irc": "^0.2.9",
"hubot-kredits": "^1.3.0",
"hubot-plusplus": "^1.1.5",
"hubot-read-tweet": "0.0.2",
"hubot-redis-brain": "0.0.2",
@ -29,6 +30,8 @@
"hubot-shipit": "^0.2.0",
"hubot-tell": "^1.2.3",
"hubot-yubikey-invalidation": "0.0.3",
"kredits-contracts": "^2.0.0",
"node-fetch": "^1.6.3",
"request": "2.30.0"
},
"engines": {

6
run.sh
View File

@ -2,6 +2,7 @@
# rm -rf node_modules/hubot-openassets
# npm install
PORT=8888 \
HUBOT_IRC_SERVER="irc.freenode.net" \
HUBOT_IRC_ROOMS="#kosmos-dev,#kosmos-random" \
HUBOT_IRC_NICK="hal7000" \
@ -15,4 +16,9 @@ LOG_STEALTH="true" \
WEBHOOK_TOKEN="kosmosplusplus" \
HUBOT_YUBIKEY_API_ID="change-me" \
KREDITS_WEBHOOK_TOKEN="123" \
KREDITS_ROOM="#kosmos-dev" \
# KREDITS_WALLET_PATH="wallet.json" \
KREDITS_WALLET_PATH="wallet-testnet.json" \
KREDITS_WALLET_PASSWORD="foo" \
KREDITS_CONTRACT_ADDRESS="0x1e77db134531f8e8f3d97428285d096b4b85e2c4" \
bin/hubot --name hal7000