Home

Awesome

hanu example

Example Go Slack bot using the hanu framework.

Supported commands

Usage

$ > git clone git@github.com:sbstjn/hanu-example.git
$ > cd hanu-example
$ > HANU_EXAMPLE_SLACK_TOKEN=YOUR_TOKEN go run main.go

Heroku

$ > git clone git@github.com:sbstjn/hanu-example.git
$ > cd hanu-example
$ > heroku create
$ > heroku config:set HANU_EXAMPLE_SLACK_TOKEN=YOUR_TOKEN
$ > git push heroku master
$ > heroku ps:scale worker=1

Scaling dynos... done, now running worker at 1:Hobby