Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Uploadd backend for Paperclip

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README.markdown
Octocat-spinner-32 init.rb
README.markdown

paperclip_uploadd

Plugin for using Paperclip with Uploadd as a backend

Dependencies

paperclip
uploadd server running

Installation

config.gem "httpclient"
rake gems:install
script/plugin install git://github.com/capotej/paperclip_uploadd

Options (all required)

:storage set to ::Uploadd

:server url and port of your uploadd server

:cdn document root of your uploadd's UPLOAD_DIR

:secret the secret you set in SECRET in uploadd

Example

 has_attached_file :avatar, :storage => ::Uploadd, :server => "http://uploadd.serbers.com:3000", :secret => "redrum", :cdn => "http://cdn.mysite.com/files"
Something went wrong with that request. Please try again.