This is a bot for The Fugawi Slack community. It's a collection of useful functions and inside jokes.
- Create a config file called "fugconfig" that exports your Slack bot's token.
export HUBOT_SLACK_TOKEN="xoxb-..."
- Run
npm install
- Run
./fugrun
to source your "fugconfig" configuration file, and (re)start your bot.
To deploy on Heroku, follow these directions.
- If you don't already have a Heroku account, register for one here
- After you've signed into your new account, create a new app.
- Go to the
Deploy
tab and select GitHub as your deployment method
- If you haven't connected to your Heroku account to GitHub, click
Connect to GitHub
(seen below) - Once connected, select your username, enter "universe-bot", and select
Connect
- In the
Manual Deploy
section, clickDeploy Branch
- Add your Hubot Slack Token to your Heroku app's environment variable
- Get your Slack Token from the
.env
file in your Glitch app or directly from your Hubot configuration on Slack - Navigate to the
Settings
tab on your Heroku app - Select the
Reveal Config Vars
button - Type
HUBOT_SLACK_TOKEN
in theKEY
field and your token into theVALUE
field, then clickAdd
- Open Slack to test your deployment
- Note: To test properly, make sure to close the Glitch browser.