Keyboard shortcuts

Press ← or β†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Ruby On Rails - Application Setup Guide

This setup covers a pure, monolithic Rails application. This is the most frequent type of application at Renuo and is probably the easiest to set up. The application (and its GitHub repo) will be named after the [project-name] you chose before.

Note

Have you chosen a [project-name] yet? If not, please do so now. Check our Naming Conventions

Note

Have you decided if you need two environments (develop and main) or just one? As a rule of thumb: for customers we always use two environments, for internal projects we usually only use one. Why the difference? Because we can bear the risk of having a bug in an internal project, but we cannot do that for a customer. Decide with your team if you want one or two branches.

Tip

Sections marked with ✨ are already set up by the Renuo Rails template or ship with Rails 8.1 by default. You only need to verify them, not install them.


Step 1: Create the App

  1. Initialise the Rails Application
  2. Push to Git Repository
  3. Initialise Gitflow
  4. Configure GitHub Repository

Step 2: Deploy the App

  1. Create an Application Server for Deploio or Create an Application Server for Heroku
  2. Configure the CI/CD

Your app should now be up and running on all environments.

Step 3: Quality Tools

Set up the tools that help your team maintain high quality throughout development.

  1. RSpec
  2. Linting and automatic checks
  3. Gems and libraries πŸ’Ž
  4. Cloudflare

Your team can now start working on the project.

Step 4: Monitoring & Protection

Set these up while the rest of the team starts working. Most are not optional, but they don’t block other work.

  1. AppSignal
  2. Sentry (optional)
  3. NewRelic (optional)
  4. robots.txt
  5. Percy (optional)
  6. Protect develop environment

Step 5: Customer Plan Services

Bookmark the project on Redmine and configure the services listed there.

  1. Uptimerobot
  2. Sentry notifications, if requested
  3. Depfu security monitoring
  4. Papertrail alerts, if requested

Guides & Recipes

The following are not part of the sequential setup. Use them as needed for your project.