Specialist documents are now rendered by government-frontend. This application is being retired.
Displays long form single page documents published via alphagov/specialist-publisher.
- Energy Market Investigation published by the Competition and Markets Authority.
- Trade Advocacy Fund published by the Department for International Development.
- alphagov/content-store: provides the document to display.
- alphagov/static: provides static assets (JS/CSS) and provides the GOV.UK templates.
./startup.sh
The app should start on http://localhost:3065 or http://specialist-frontend.dev.gov.uk on GOV.UK development machines.
./startup.sh --live
This will run the app and point it at the production GOV.UK content-store
and static
instances.
or you can run using bowler in the VM from cd /var/govuk/development/:
bowl specialist-frontend
If you are using the GDS development virtual machine then the application will be available on the host at http://specialist-frontend.dev.gov.uk/
$ bundle exec rake
- Add a new presenter in
app/presenters
for the new document type. - Add the mapping for the new presenter to its document type in the
document_presenter
method inapp/controllers/specialist_documents_controller.rb
.