Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
/ rails-starter-app Public archive

A starter application for Ruby on Rails apps that will use the GOV.UK Design System

Notifications You must be signed in to change notification settings

alphagov/rails-starter-app

Repository files navigation

Rails Starter Template Application

GOV.UK Verify has closed

This repository is out of date and has been archived

This is a Ruby on Rails template using GOV.UK Design System styles: https://design-system.service.gov.uk/get-started/

Setting up the app in development

./build.sh  # create a Docker image
./startup.sh  # run a local server on Docker

Updating dependencies

rm Gemfile.lock  # and/or
rm yarn.lock
./build.sh

Running tests

./pre-commit.sh

Running arbitrary commands with docker-compose

docker-compose run app bin/rake db:reset
docker-compose run app bin/rails dbconsole  # etc

To drop into a debugger if your spec tests fail, you can use:

docker-compose run -e PRY_RESCUE_RAILS=true app bin/rake spec

About

A starter application for Ruby on Rails apps that will use the GOV.UK Design System

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published