Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
assets
config
db/migrations
jobs
models
uploaders
views
.gitignore
Gemfile
README.md
Rakefile
app.rb
config.ru

README.md

Shrine & Transloadit Demo

This is a demo app which integrates Transloadit file uploads with Shrine using shrine-transloadit.

Requirements

You need to have the following:

  • Transloadit account
  • Amazon S3 account
  • SQLite

Setup

  • Add .env with Transloadit and Amazon S3 credentials:

    # .env
    TRANSLOADIT_KEY="..."
    TRANSLOADIT_SECRET="..."
    S3_BUCKET="..."
    S3_REGION="..."
    S3_ACCESS_KEY_ID="..."
    S3_SECRET_ACCESS_KEY="..."
  • Run bundle install

  • Run rake db:migrate

  • Run bundle exec rackup