Don't run npm install on every hubot start
But link hubot-kredits in development
This commit is contained in:
parent
e93671a740
commit
32c3ce7afe
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
npm install
|
|
||||||
export PATH="node_modules/.bin:node_modules/hubot/node_modules/.bin:$PATH"
|
export PATH="node_modules/.bin:node_modules/hubot/node_modules/.bin:$PATH"
|
||||||
|
|
||||||
exec node_modules/.bin/hubot --name "hal9000" "$@"
|
exec node_modules/.bin/hubot --name "hal9000" "$@"
|
||||||
|
6
run.sh
6
run.sh
@ -1,5 +1,4 @@
|
|||||||
rm -rf node_modules/hubot-plusplus
|
npm link hubot-kredits
|
||||||
# npm install
|
|
||||||
|
|
||||||
PORT=8888 \
|
PORT=8888 \
|
||||||
HUBOT_LOG_LEVEL="debug" \
|
HUBOT_LOG_LEVEL="debug" \
|
||||||
@ -21,6 +20,5 @@ KREDITS_WEBHOOK_TOKEN="123" \
|
|||||||
KREDITS_ROOM="#kosmos-random" \
|
KREDITS_ROOM="#kosmos-random" \
|
||||||
KREDITS_WALLET_PATH="wallet.json" \
|
KREDITS_WALLET_PATH="wallet.json" \
|
||||||
KREDITS_WALLET_PASSWORD="foo" \
|
KREDITS_WALLET_PASSWORD="foo" \
|
||||||
KREDITS_CONTRACT_ADDRESS="0x7dfab325c6ec203597c419b4b3172c6b219b9315" \
|
KREDITS_PROVIDER_URL="http://localhost:7545" \
|
||||||
KREDITS_PROVIDER_URL="https://parity.kosmos.org:8545" \
|
|
||||||
bin/hubot --name hal7000
|
bin/hubot --name hal7000
|
||||||
|
Loading…
x
Reference in New Issue
Block a user