Skip to content

178inaba/fizzbuzz-twitterbot

Repository files navigation

FizzBuzz Twitter Bot

Build Status Coverage Status Go Report Card

Docker

Build

$ docker build --force-rm --no-cache -t 178inaba/fizzbuzz-twitterbot .

Run

$ docker run -d --restart unless-stopped -e CONSUMER_KEY=... -e CONSUMER_SECRET=... -e ACCESS_TOKEN=... -e ACCESS_TOKEN_SECRET=... --name fizzbuzz-twitterbot 178inaba/fizzbuzz-twitterbot

Compose

Up

$ docker-compose up -d --build

Down

$ docker-compose down

Test

Require MySQL or MariaDB.

$ mysql -u root < misc/sql/create_test_db.sql
$ mysql -u root fizzbuzz_twitterbot_test < misc/sql/ddl.sql
$ go test ./...

License

MIT

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages