Skip to content

eitje-app/s3_engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S3 gem

Never stops lovin AWS, yay!

Installation

Add this line to your application's Gemfile:

gem 's3', git: 'https://github.com/eitje-app/s3_engine', branch: 'production'

Or, for development purposes, add instead:

local_paths = %w$ /Users/jurriaanschrofer/Documents/s3 $
if ENV['IS_LOCAL_ENGINE'] && ( path = local_paths.find {|path| Dir.glob(path).any?} )
  gem 's3', path: path
else
  gem 's3', git: 'https://github.com/eitje-app/s3_engine', branch: 'production'
end

Create and run the required migrations:

$ rails s3:install:migrations
$ rails db:migrate

Add the following to your routes.rb:

mount S3::Engine => "/s3"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages