Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 814 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 814 Bytes

Source code for the Asynchronous File Uploading with Rails article on SitePoint, created by Ilya Bodrov (radiant-wind.com).

Working demo.

Instructions for deploying to Heroku

Rename config/secrets.yml.example to config/secrets.yml

Populate production section with your own aws_access_key_id and aws_secret_key.

Also generate secret key for production:

rake secrets

and add it to config/secrets.yml

Finally run:

RAILS_ENV=production rake heroku:secrets

Change bucket name in config/initializers/dragonfly.rb with your own bucket name. Note: Add bucket without dots to aviod this error.