This is a sample app that includes the GOV.UK Design System.
It was created as follows:
-
Create a
Dockerfile
for the app server. -
Create a
docker-compose.yml
to 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.json
to include a link to the Design system, and updaterails-app/app/assets/stylesheets/application.css
to load up the GOV.UK Design System CSS.