Skip to content
Dylan Fisher edited this page Nov 5, 2018 · 14 revisions

Creating a new app on Heroku using Amazon S3 and Cloudfront

Create new Rails app

rails new my-app --database=postgresql --skip-yarn --skip-active-storage --skip-action-cable --skip-coffee --skip-test

Follow installation instructions.

You may want to install Forest Assets to bootstrap CSS and Javascript setup.

Heroku

Configure Heroku and provision add-ons

Amazon S3 and Cloudfront

Configure Amazon S3 and Cloudfront.

Configure DNS

Once everything is pushed to Heroku and running properly, configure your DNS and update production.rb to force SSL.

Clone this wiki locally