This is a demo app which integrates Transloadit file uploads with Shrine using shrine-transloadit.
You need to have the following:
- Transloadit account
- Amazon S3 account
- SQLite
-
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