Skip to content

tongueroo/jets-example-upload

Repository files navigation

Jets Upload Tutorial with Carrierwave Example

BoltOps Badge

This project demonstrates how to upload images or any binary file with Jets and Carrierwave.

Getting Started

git clone https://github.com/tongueroo/jets-example-upload upload
cd upload
vim .env.development # add CARRIERWAVE_* variables per tutorial guide
jets deploy

Important

Remember to update your .env files with the CARRIERWAVE_* variables. Example:

.env.development:

CARRIERWAVE_AWS_ACCESS_KEY_ID=AKIAI7KI5LIEXAMPLE
CARRIERWAVE_AWS_SECRET_ACCESS_KEY=XOGuscz2lNyGFo1ChFntigzBp3IMMGdEXAMPLE
CARRIERWAVE_AWS_REGION=us-west-2
CARRIERWAVE_S3_BUCKET=demo-uploads-EXAMPLE

You'll need to update .env.development.remote before deploying also.

.env.development.remote:

DATABASE_URL=mysql2://user:[email protected]/upload?pool=5

Resources

If you find Jets interesting, please it a GitHub star tongueroo/jets. It helps others find out about the project. I'd appreciate it!

About

Jets Upload Tutorial with Carrierwave Example

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published