Skip to content
Dylan Fisher edited this page Aug 21, 2023 · 14 revisions

Creating a new app on Heroku using Amazon S3 and Cloudfront

Create new Rails app

rails new my-app -j esbuild --css bootstrap --database=postgresql --skip-yarn --skip-active-storage --skip-action-cable --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 Web Services (S3, Cloudfront, Lambda, etc.)

Configure Amazon Web Services.

Configure DNS

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

Launch Checklist

When the time comes to launch the site, don't forget these checklist items.