Front-end app for the manuals format on GOV.UK
- Manuals – documents published using github.com/alphagov/specialist-publisher.
- HMRC Manuals – Manuals published by HMRC and populated via their API: github.com/alphagov/hmrc-manuals-api.
- https://github.com/alphagov/static – Provides static assets (JS/CSS)
- https://github.com/alphagov/content-store – Provides content
Installation and running
In a terminal, run:
or using bowler:
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.