Skip to content

cforgy69/identity-dev-docs

 
 

Repository files navigation

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 initial setup:

make setup

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/

About

Login.gov developer documentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 62.7%
  • Ruby 29.5%
  • SCSS 2.9%
  • Dockerfile 2.8%
  • Makefile 2.1%