Skip to content

nmonterroso/pacow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pacow

Slack/pachow/cowsay integration

Usage

Requires leiningen.

Build

lein uberjar

Run

export COWSAY_BIN=/path/to/cowsay
export SERVER_PORT=<port-number>
export SLACK_ENDPOINT=<slack-endpoint>

java -jar pacow-standalone.jar

Environment Variables

  • COWSAY_BIN location of cowsay binary on local system (defaults to cowsay)
  • SERVER_PORT port to listen on (defaults to 8080)
  • SLACK_ENDPOINT slack integration endpoint (incoming webhook)

Docker

To build the docker file:

docker build -t pacow-image .

To run the container:

docker run -d -p 8081:8081 --env SLACK_ENDPOINT='<YOUR_SLACK_ENDPOINT>' --name pacow-container pacow-image

About

slack pachow integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published