Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Multi-component API with EM proxy and ZMQ
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
.rvmrc
Gemfile
Gemfile.lock
Procfile
README.mkd
api.rb
config.ru
proxy.rb
uploads.rb
worker.rb

README.mkd

Start everything

foreman start

Start many upload workers

foreman start worker=4

Proxy listens on :8080

Proxy to EventMachine uploads server on :5100

RestClient.post 'http://localhost:8080/themes/current', ActiveSupport::Base64.encode64(File.read('/Users/ismasan/Pictures/iChat Icons/Fruit/Orange.gif'))

Proxy to Sinatra REST API on :4000

RestClient.get 'http://localhost:8080/products/10?callback=p'

Something went wrong with that request. Please try again.