hkamran80 / identity-dev-docs

Login.gov developer documentation

Home Page:https://developers.login.gov

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://developers.login.gov

License:Other


Languages

Language:HTML 60.9%Language:Ruby 31.5%Language:Dockerfile 3.0%Language:SCSS 2.4%Language:Makefile 2.3%