Files
hal8000/run.sh
T
raucao 4fa75537d5 Modernize to hubot 14 (ESM)
- ESM ("type": "module"); hubot 14.1.0
- deps: hubot-xmpp (kosmos/hubot-xmpp@master), hubot-help ^2.1.5, hubot-rules
  ^2.1.1, hubot-redis-brain 3.0.1, hubot-incoming-webhook ^2.0.0,
  @kredits/hubot-kredits (git master)
- drop hubot-irc, coffee-script, request, hubot-auth, hubot-scripts,
  hubot-shipit, hubot-tell, hubot-seen, hubot-schedule, cheerio, node-fetch
- external-scripts.json: hubot-help, hubot-redis-brain, hubot-rules,
  hubot-incoming-webhook, @kredits/hubot-kredits
- scripts/health.js -> ESM; run.sh -> -a hubot-xmpp
- drop stale .jshintrc
2026-10-28 14:34:29 +04:00

26 lines
889 B
Bash
Executable File

# npm link @kredits/hubot-kredits
PORT=8888 \
HUBOT_LOG_LEVEL="debug" \
HUBOT_XMPP_USERNAME="hal8000@kosmos.org/hubot" \
HUBOT_XMPP_PASSWORD="change-me" \
HUBOT_XMPP_ROOMS="kosmos-dev@kosmos.chat,kosmos-random@kosmos.chat" \
HUBOT_RSS_PRINTSUMMARY="false" \
HUBOT_RSS_PRINTERROR="false" \
HUBOT_RSS_IRCCOLORS="true" \
HUBOT_RSS_HEADER="Update:" \
LOG_HTTP_PORT=7000 \
LOG_STEALTH="true" \
WEBHOOK_TOKEN="kosmosplusplus" \
KREDITS_WEB_URL="http://localhost:4200" \
KREDITS_WEBHOOK_TOKEN="123" \
KREDITS_ROOM="kosmos-random@kosmos.chat" \
KREDITS_WALLET_PATH="wallet.json" \
KREDITS_WALLET_PASSWORD="foo" \
KREDITS_PROVIDER_URL="http://localhost:8545" \
KREDITS_GITHUB_KEY="5f49f1d25902f053c61c" \
KREDITS_GITHUB_SECRET="cc695d692c33746c9c9b688d24a12b16f58f9e00" \
KREDITS_GITHUB_REPO_BLACKLIST="" \
KREDITS_MEDIAWIKI_URL="https://wiki.kosmos.org/" \
bin/hubot -a hubot-xmpp --name hal8000