fonorobert / gamebot

A template project to get you started writing Botkit bots for Slack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gamebot

Running locally

  1. npm install
  2. CLIENT_ID=xxxxxxxxxx.yyyyyyyyyyyy CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx npm run serve

⚠️ Depending on your node version, npm install will fail when building lwip. To solve this you need to:

  1. Switch to node v7.5.0 (or v6.10.0 if you're on v6)
  2. Run npm install
  3. Switch back to your default node version
  4. CLIENT_ID=xxxxxxxxxx.yyyyyyyyyyyy CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx npm run serve

If you don't know what CLIENT_ID and CLIENT_SECRET are, please read this. TODO: add more details on that

Running in production

Don't forget to set PRODUCTION=true.

About

A template project to get you started writing Botkit bots for Slack

License:MIT License


Languages

Language:JavaScript 94.9%Language:Shell 5.1%