Dilbertbot
A Daily Dilbert Comic Strip Bot for Slack
Prerequisites
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install node
npm install n -g
Setup
git clone git@github.com:ilyakam/dilbertbot.git
cd dilbertbot
n 6.*
npm install
Workflow
-
To run the app locally
npm run dev
-
To test
npm run test
-
To lint
npm run lint
Deploy
This bot can be deployed on different platforms. Simply follow the instructions below:
Zeit's Now
# Ensure you're inside the dilbertbot directory
npm install now -g
now deploy -e SLACK_WEBHOOK_URL=[your webhook URL]