Whitehall is deployed in two modes:
- 'admin' for publishers to create and manage content (e.g. http://whitehall-admin.dev.gov.uk/government/admin/news/new)
- 'frontend' for rendering some legacy content (see live examples that follow)
Live examples (frontend)
- Get involved page: https://www.gov.uk/government/get-involved
- Field of Operation: https://www.gov.uk/government/fields-of-operation/iraq
- World Embassies: https://www.gov.uk/world/embassies
- Topical Events: https://www.gov.uk/government/topical-events/cop26
Running the Application
Use GOV.UK Docker to run any commands that follow.
Traditionally, the two sides of Whitehall are available on different domains in development, which reflect their counterparts in production:
- Govspeak A variation of Markdown used throughout whitehall as the general publishing format
This is a Ruby on Rails app, and should follow our Rails app conventions.
Shared mustache templates
bundle exec rake shared_mustache:compile bundle exec rake shared_mustache:clean
In absence of this generated template, shared mustache inlines mustache templates in
<script> blocks on the page, which enables developers to see changes to mustache without compiling. If this generated template is checked-in, shared mustache uses this file instead of inlining templates. Hence, we don't check-in this file.
Running the test suite
# run all the test suites bundle exec rake
- Contributing guide
- Edition workflow
- How to publish a finder in whitehall
- Search setup guide