Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dgurkaynak/slack-poker-planner
Poker planning app for Slack
https://github.com/dgurkaynak/slack-poker-planner
poker-planning scrum-poker slack
Last synced: 4 days ago
JSON representation
Poker planning app for Slack
- Host: GitHub
- URL: https://github.com/dgurkaynak/slack-poker-planner
- Owner: dgurkaynak
- License: mit
- Created: 2017-04-30T20:43:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-08-23T16:32:11.000Z (over 1 year ago)
- Last Synced: 2024-12-05T08:41:49.774Z (17 days ago)
- Topics: poker-planning, scrum-poker, slack
- Language: TypeScript
- Homepage: https://deniz.co/slack-poker-planner
- Size: 5.81 MB
- Stars: 231
- Watchers: 5
- Forks: 38
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Poker Planner for Slack
This project lets you make estimations with planning poker technique (or scrum poker) directly in Slack, without any need of external software.
It can be a useful tool for agile remote teams.Slack App Directory: https://slack.com/apps/A57FFS3QE-poker-planner
[![Demonstration](./assets/demo.gif)](https://deniz.co/slack-poker-planner/)
## Installation & Add to your Slack Team
- Go to website: https://deniz.co/slack-poker-planner/
- Click **"Add to Slack"** button
- Select the team you want to install Poker Planner from the dropdown top right
- Click **Allow** button## Usage
For detailed usage documentation, please visit [website](https://deniz.co/slack-poker-planner/#usage).
## Self-hosting
If you want to host your own app, follow this steps:
### Creating Slack App & Getting Credentials
- Create a new Slack app [from here](https://api.slack.com/apps).
- Interactivity & Shortcuts
- **Turn on** "Interactivity"
- Set request url: `http://my.awesome.project.url/slack/interactivity`
- Slash Commands
- Create a new command `/pp` (or any command you want) and set request url as `http://my.awesome.project.url/slack/pp-slash-command`
- Make sure that "Escape channels, users, and links sent to your app" option is **turned on**
- OAuth & Permissions
- Add a new OAuth Redirect URL: `http://my.awesome.project.url/oauth`
- Required bot permission scopes: `commands`, `chat:write`
- Required user permission scopes: None
- User ID Translation
- **Turn off** "Translate Global IDs"
- Tokens
- Client ID, Secret and Verification token can be found on Basic Information page
- Installation
- Go to Manage Distribution, click "Add to Slack" and grant permissions### Running via Docker
- Clone the repo & `cd` into it
- Build docker image: `docker build -t dgurkaynak/slack-poker-planner .`
- Start container:
```sh
docker run -d \
--restart=unless-stopped \
-p 3000:3000 \
-e SLACK_CLIENT_ID=xxx \
-e SLACK_CLIENT_SECRET=xxx \
-e SLACK_VERIFICATION_TOKEN=xxx \
-e SLACK_APP_ID=xxx \
-e DATA_FOLDER=/data \
-v /host/data/folder/slack-poker-planner:/data \
--name slack-poker-planner \
dgurkaynak/slack-poker-planner
```
- *(optional)* If you wanna persist poker sessions, you can provide a Redis server.
```sh
docker run -d \
--restart=unless-stopped \
-p 3000:3000 \
-e SLACK_CLIENT_ID=xxx \
-e SLACK_CLIENT_SECRET=xxx \
-e SLACK_VERIFICATION_TOKEN=xxx \
-e SLACK_APP_ID=xxx \
-e DATA_FOLDER=/data \
-v /host/data/folder/slack-poker-planner:/data \
-e USE_REDIS=true \
-e REDIS_URL="redis://X.X.X.X:6379" \
--name slack-poker-planner \
dgurkaynak/slack-poker-planner
```> Check out [.env](https://github.com/dgurkaynak/slack-poker-planner/blob/master/.env) file for the complete list of environment variables.
### Running Manually
Node.js requirement `>= 16.17.0`
- Clone this repo
- Install dependencies: `npm i`
- Build: `npm run build`
- Start the app: `npm start`