Project

eitje_s3

0.0
Low commit activity in last 3 years
No release in over a year
S3
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

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"