Skip to main content

Application: special-route-publisher

Publishes special routes on GOV.UK

Ownership
N/A
Hosting
N/A
Links

README

Publishes special routes to the Publishing API on behalf of other apps.

Technical documentation

You can use the GOV.UK Docker environment to run the tests and rake commands on your local machine. Follow the usage instructions to get started.

Use GOV.UK Docker to run any commands that follow.

Running the test suite

bundle exec rake

Running the rake tasks

You will need to start Publishing API and Content Store to run the following commands locally.

To publish all routes:

env PUBLISHING_API_BEARER_TOKEN=abc bundle exec rake publish_special_routes

To publish one route:

env PUBLISHING_API_BEARER_TOKEN=abc bundle exec rake publish_one_route["/base-path"]

Licence

MIT License