kapost / circuitry-example

Example implementation of a circuitry enabled app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Circuitry Example

This is an example application that makes use of circuitry fan-out messaging.

Installation

  1. Clone this repository: git clone git@github.com:kapost/circuitry-example.git
  2. Update environment variables:
  • cp .env.example .env
  • Edit .env to set your AWS access/secret keys. (Note that you'll need an AWS account with rights to create/manage SQS and SNS.)
  1. Install gems: bundle install

Usage

  1. Run the subscriber. (Note that this is a long-running process that must be exited via Ctrl+C.)

     bundle exec ruby ./subscriber.rb`
    
  2. Run the publisher.

     `bundle exec ruby ./publisher.rb`
    

About

Example implementation of a circuitry enabled app


Languages

Language:Ruby 100.0%