Search⌘ K
AI Features

Creating a Rails App

Understand how to create a Rails app optimized for sustainability. Learn key setup steps including configuring Postgres, managing developer workflows, automating testing and security checks, and preparing the app for production deployment.

We'll cover the following...

The following command is pretty powerful. It immediately creates a ready-to-go Rails application but doesn’t completely set us up for sustainable development.

rails new

We know a few things about our app right now:

  • Other developers will work on it and need to be able to set it up, run its tests, and run it locally.

  • It will eventually have security vulnerabilities (in our code and in our dependencies).

  • It will be deployed into production via a continuous integration pipeline and require operational observability.

Given the assumptions we listed in the first chapter, we are also quite confident that the app will get more complex ...