Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/papakvy/chatopsify


https://github.com/papakvy/chatopsify

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Chatopsify

![Gem](https://img.shields.io/gem/v/chatopsify?color=%25234cc61f&label=Gem%20version&logo=ruby&logoColor=red&link=https%3A%2F%2Frubygems.org%2Fgems%2Fchatopsify)
![Gem](https://img.shields.io/gem/dt/chatopsify?color=%2330c754&label=Downloads&logo=rubygems&logoColor=red&link=https%3A%2F%2Frubygems.org%2Fgems%2Fchatopsify)
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/papakvy/chatopsify/run_rubocop.yml?branch=main&logo=rubocop&logoColor=red&label=Rubocop%20Lint)
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/papakvy/chatopsify/run_tests.yml?branch=main&logo=rubocop&logoColor=red&label=Tests%20%F0%9F%A7%AA)

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'chatopsify', require: false
```

And then execute:

$ bundle install

Or install it yourself as:

$ gem install chatopsify

## Usage

Require the gem in your `Capfile`:

require 'capistrano/chatopsify'

## Configuration

### Using ENV (or `.env`)

```bash
export CHATOPS_URI='your_chatops_uri'
export CHATOPS_API_KEY='your_chatops_api_key'
export CHATOPS_CHANNEL_ID='your_channel_id'
```

### Using `config/deploy`

```ruby
# config/deploy.rb
...
set :chatops_uri, 'your_chatops_uri'
set :chatops_api_key, 'your_chatops_api_key'
set :chatops_channel_id, 'your_channel_id'
...
```

### Copyright

©rs-phunt