Skip to content

Latest commit

 

History

History
 
 

demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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_AUTH_KEY="..."
    TRANSLOADIT_AUTH_SECRET="..."
    S3_BUCKET="..."
    S3_REGION="..."
    S3_ACCESS_KEY_ID="..."
    S3_SECRET_ACCESS_KEY="..."
  • Run bundle install

  • Run rake db:migrate

  • Run bundle exec rackup