A static Jekyll site for the DPC welcome, FAQ, and documentation pages.
This project dynamically generates static pages for use in the DPC informational website.
Anyone committing to this repo must use the pre-commit hook to lower the likelihood that secrets will be exposed.
You can install pre-commit using the MacOS package manager Homebrew:
brew install pre-commit
Other installation options can be found in the pre-commit documentation.
Run the following command to install the gitleaks hook:
pre-commit install
This will download and install the pre-commit hooks specified in .pre-commit-config.yaml
.
It is recommended to run the site using Docker. This standardizes the build process for all developers and avoids complex conflicts with library versioning.
Prerequisites:
To run the website with file updates reflected automatically at http://localhost:4001/
:
make serve
To do a one-time build of the static website files directly into the _site
directory:
make build
If you'd like to run the site natively without Docker, follow the instructions below.
It is assumed that the environment already has these installed:
Navigate to the repository and install the appropriate Gem file and package.json
file.
gem install bundler
<— install Gem bundlerbundle install
<— install Gem bundlesnpm install
<— installpackage.json
dependencies
Jekyll builds the CSS and HTML pages. Run bundle exec jekyll serve
from the project root for a local build. By default, the site will run in http://localhost:4000/
. You can also run bundle exec jekyll build
to compile the site files into the _site
directory.
The project vision is available at https://dpc.cms.gov.
See https://www.cms.gov for this project's agency's mission.
DPC operates under the Data Analytics and Systems Group.
Team members are listed on our community page.
Contributions should follow our policy.
See the Code of Conduct for community guidelines.
Contributions to this project must comply with Section 508 accessibility standards.
This project is subject to the Creative Commons Zero 1.0 International License.