Govuk Rails Boilerplate

screenshot of Govuk Rails Boilerplate

A simple boilerplate built on Ruby on Rails to kick start new services

Overview

The repository mentioned in this content is archived in favor of a Rails template called "GOV.UK Rails Boilerplate." The prerequisites for using this template are Ruby 2.7.1, PostgreSQL, NodeJS 12.13.x, and Yarn 1.12.x. The content provides instructions for setting up the app in development, running tests and linters, and deploying on GOV.UK PaaS.

Features

  • Rails 6.0 with Webpacker
  • GOV.UK Frontend
  • GOV.UK Design System Formbuilder
  • GOV.UK Components
  • RSpec
  • Dotenv (managing environment variables)
  • Travis with Heroku deployment
  • Docker and docker compose

Summary

The archived repository for Rails template "GOV.UK Rails Boilerplate" focuses on providing a ready-to-use setup for developing applications following the GOV.UK design system. It includes features such as Rails 6.0 with Webpacker, GOV.UK Frontend, GOV.UK Design System Formbuilder, and GOV.UK Components. The installation process involves setting up the necessary dependencies, configuring the database, and launching the app. Additionally, the content mentions using Docker for running the application without installing dependencies, simulating a production environment, and packaging the application for versioning and deployment. Finally, there are instructions for deploying the app on GOV.UK PaaS using Cloud Foundry CLI.