Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.32 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.32 KB

Rails 7 application template

This is an application template for starting Ruby on Rails applications with GOV.UK Frontend packaged and ready to go.

What's included

Requirements

  • Rails 7.0.1
  • Ruby 3.1.0 (older versions probably work but haven't been tested)
  • Foreman
  • NodeJS
  • Yarn

Things that will be added soon

  • a Dockerfile
  • GOV.UK PaaS config

Example use

To generate a new application called blog:

rails new                                                                          \
  --skip-bundle                                                                    \
  --skip-jbuilder                                                                  \
  --skip-test                                                                      \
  --skip-action-text                                                               \
  --skip-action-mail{er,box}                                                       \
  -m https://raw.githubusercontent.com/DFE-Digital/rails-template/main/template.rb \
  blog