Sha256: 9326207a9a8e7bdc966755ad798d1dc30f1ead95508164c8d3ec23c4c9d418e4

Contents?: true

Size: 410 Bytes

Versions: 1

Compression:

Stored size: 410 Bytes

Contents

#!/usr/bin/env ruby

lib = File.expand_path('../../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require "pergo"

config = YAML.load_file("config.yml")
Pergo.config.access_key = config["access_key"]
Pergo.config.secret_key = config["secret_key"]
Pergo.config.queue_region = config["queue_region"]
Pergo.config.topic = config["topic"]

Pergo::Server.run(host: ARGV[0], port: ARGV[1])

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pergo-0.2.0 bin/pergo