h1. Condo Example App
A basic implementation of "Condo":https://github.com/cotag/Condominios to demonstrate uploading files directly from the browser to "Amazon S3":http://aws.amazon.com/s3/ or "Google Cloud Storage":https://cloud.google.com/products/cloud-storage
!https://raw.github.com/cotag/condo_example/master/doc/upload_screenshot.png!
h2. Usage
h3. Configuring your provider
h4. Amazon
http://localhost:3000
PUT
POST
*
*
GET
You may want to apply similar configurations programmatically in production, especially if you have a bucket per-user.
h4. Google
http://localhost:3000
GET
HEAD
POST
PUT
origin
content-md5
authorization
x-goog-date
x-goog-acl
content-type
accept
x-goog-api-version
x-goog-resumable
ETag
1800
I wrote a helper function in Condo for applying this using "Fog":http://fog.io/
h4. Rackspace
If you do want to use it you'll have to enable "temporary URLs":http://docs.rackspace.com/files/api/v1/cf-devguide/content/Create_TempURL-d1a444.html you need to set a "metadata header":http://docs.rackspace.com/files/api/v1/cf-devguide/content/Set_Account_Metadata-d1a4460.html on your account. There is also a helper function in Condo that achieves this using Fog. You'll also need to enable CORS: http://docs.rackspace.com/files/api/v1/cf-devguide/content/CORS_Container_Header-d1e1300.html