Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

bodrovis/sitepoint-async-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Source code for the Asynchronous File Uploading with Rails article on SitePoint, created by Ilya Bodrov (bodrovis.tech).

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.

About

Source code for Asynchronous File Uploads in Rails article on Sitepoint

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published