This is a sample app that includes the GOV.UK Design System.
It was created as follows:
-
Create a
Dockerfilefor the app server. -
Create a
docker-compose.ymlto create a minimal development environment. Build the environment:docker-compose build -
Create the basic rails application:
docker-compose run app rails new . --force --no-deps --database=postgresql -
Modify the database config to point to the DB in our development environment.
-
Update
package.jsonto include a link to the Design system, and updaterails-app/app/assets/stylesheets/application.cssto load up the GOV.UK Design System CSS.