Front-end app for the manuals format on GOV.UK
Ruby JavaScript HTML CSS Shell
Latest commit 3cbfcc2 Jan 3, 2017 @fofr fofr committed on GitHub Merge pull request #192 from alphagov/upgrade-jquery
Run tests against jQuery 1.12.4

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 specialist-publisher to publish a manual run specialist-publisher (instructions here: https://github.com/alphagov/specialist-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.