/identity-dev-docs

Login.gov developer documentation

Primary LanguageHTMLOtherNOASSERTION

Login.gov Dev Docs

View it live ❯

Temporary Alert

To add a temporary alert to the developer docs set the temporary_alert configuration value in _config.yml to a string with the desired alert contents, e.g. The sandbox will be unavailable from <b>5:30-6:30p ET on Tuesday, August 9th</b>.. To turn off the alert change the configuration value to false.

Development

Docker

Build and run the site

docker-compose build
docker-compose up
open http://localhost:4000

Some changes, like _config.yml don't get picked up automatically in Docker. You can pick up these changes by stopping/starting the cluster.

Run tests

docker-compose run web make test

You can drop into a bash shell in the container with

docker-compose run web bash

Locally

Run the server locally:

make run

Run the tests:

make test

This site uses the U.S. Web Design Standards. To update them:

  1. Download the latest release
  2. Copy contents to assets/
  3. Rename directory to uswds
  4. Download latest anchor.js and put in assets/js/