GithubHelp home page GithubHelp logo

slack-bughouse's Introduction

Bughouse Team Creator

Configuring Slack

  1. Create new slack app: https://api.slack.com/apps/
  2. Create new slash command in the app
  3. Command /bughouse
  4. Request url (http://<url_for_container>/teams)
  5. Give a meaningful short description
  6. Usage hint should be player1 player2 player3 player4

Building / Running

  1. To pull the latest version
  2. docker pull jturpin/slack-bughouse
  3. To run
  4. docker run -d -p 80:9090 jturpin/slack-bughouse
  5. note that the container port is 9090 we run ours behind an AWS ELB to easily add HTTPS support

Testing

This is very much a quick hack to get back to bughouse playing quicker. That said, output can be easily seen via curl

  1. Start container
  2. docker run -d -p 80:9090 jturpin/slack-bughouse
  3. Use curl to hit endpoint
  4. curl -v http://localhost/teams?text=player1%20player2%20player3%20player4
  5. Ensure status code 200
  6. Verify Content-Type: application/json
  7. Verify valid json returned

Questions

Find me on Twitter.

slack-bughouse's People

Contributors

jturpin avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.