Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boost/slack-code-reviews
https://github.com/boost/slack-code-reviews
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/boost/slack-code-reviews
- Owner: boost
- Created: 2019-10-04T05:33:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-09T00:55:58.000Z (almost 2 years ago)
- Last Synced: 2024-04-18T11:31:10.404Z (9 months ago)
- Language: Ruby
- Size: 291 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
CODE REVIEWS
============[Slack app](https://api.slack.com/apps/ANM8CQ1DG/general)
---------------------------------------------------------- It currently contains only a `slash command` which is `/cr`
- Install the app in your slack workspace and type `/cr --help` to see the featuresContributing
------------- Set up the project with the "Development" section
- Ask to be a collaborator on the [Slack application](https://api.slack.com/apps/ANM8CQ1DG/general)
- Create a `/cr` slash command. Don't forget to tick:
"Escape channels, users, and links sent to your app"
- Start `ngrok http 3000` in a terminal
- Copy the hostname into your `application.yml` "TUNNEL_HOST"
- Ask the values to customize the rest of the `application.yml`Development
-----------```bash
# Install and launch an http tunnel to your computer
brew cask install ngrok
ngrok http 3000
# Set up the rails app in another terminal
bundle install
cp config/application.example.yml config/application.yml
# customize the value of the slack signing secret (See section "Slack app")
bin/rails db:setup
bin/rails rails server
```Edit `config/application.yml` and update `TUNNEL_HOST '.ngrok.io'` in the `default` block.
"Create New Command" on [Slash Commands](https://api.slack.com/apps/ANM8CQ1DG/slash-commands) with:
- Command: `/cr`, i.e. "/davecr"
- Request URL: `https://.ngrok.io/slack-api/slash-command`
- Short Description: "Your name"
- Check "Escape channels, users, and links sent to your app"Deployment
----------Github Actions will automatically build and deploy the application once you create a new tag.
The secrets are here https://github.com/boost/slack-code-reviews/settings/secrets/new.
The keys are kept in 1password.
drone access keys and Slack Code Review Public Private Deploy Key