Ruby JavaScript HTML CSS Other
Switch branches/tags
Clone or download
Latest commit 57a1436 Aug 9, 2018
Permalink
Failed to load latest commit information.
app
bin Upgrade to Rails 5.1.4 Nov 9, 2017
config Add a basic healthcheck May 1, 2018
lib
public
script
spec Remove code to use components from Static Jun 20, 2018
.gitignore
.rspec Add app-specific rspec configuration Aug 15, 2014
.rubocop.yml
.ruby-version
Dockerfile
Gemfile
Gemfile.lock
Jenkinsfile
LICENSE
Procfile
README.md
Rakefile
app.json Add app.json for Heroku deploys Feb 19, 2018
config.ru
startup.sh

README.md

Manuals Frontend

Purpose

Front-end app for the manuals format on GOV.UK

Live examples

Nomenclature

Dependencies

##Installation and running

In a terminal, run:

./startup.sh

or using bowler:

bowl manuals-frontend

If you are using the GDS development virtual machine then the application will be available on the host at http://manuals-frontend.dev.gov.uk/

Running the tests

The test suite includes testing against govuk-content-schemas, so you will need a copy of this repo on your file system. By default this should be in a sibling directory to your project. Alternatively, you can specify their location with the GOVUK_CONTENT_SCHEMAS_PATH environment variable.

jasmine tests are mounted at http://manuals-frontend.dev.gov.uk/specs

All tests can be run using bundle exec rake as well.

Viewing a manual

You can see the content design manual at http://manuals-frontend.dev.gov.uk/guidance/content-design

Publishing a manual on dev

Manuals are published using manuals-publisher to publish a manual run manuals-publisher (instructions here: https://github.com/alphagov/manuals-publisher), publish a manual, and you should then be able to view it on manuals-frontend. If you have replicated from preview recently then you should be able to see currently published manuals at http://manuals-frontend.dev.gov.uk/[preview-slug] too.