This site is being jointly developed by the EOP, Dept. of Labor and GSA.
This is a Jekyll-based website designed to be published on the Federalist platform.
The website utilizes the US Web Design Standards and uswds-template.
These instructions explain how to set up a local development environment by installing all necessary tools and dependencies.
Since this is a Jekyll-based website, you will need Ruby. The best way to get Ruby is to install it via rbenv. See the rbenv installation instructions to set it up on your system.
We use npm
to manage front-end dependencies. In order to get npm
, install Node.js. You do not strictly need npm
to work on the website.
First, install bundler
if you don't already have it:
gem install bundler
Then install the project's Ruby dependencies:
bundle install --with=development
Then you can run the site locally with live reloading:
npm start
You should now be able to preview the site on your local machine at http://localhost:4000/.
JobKit is currently a single page website, but is architected to easily allow additional content and functionality features.
_layouts/
- Contains any page layouts needed for the site. Currently, the only layout ishome.html
. Any additional layouts created should be located here.pages
- Any site pages should be contained here. Currently, the only page islanding.html
._data.yml
- Contains any data needed for the site. You'll find thenavigation.yml
file here. It contains the items for the sidenav bar._includes/
- Contains any page components. Items that are or may be used more than once should be included as a component and located here. For items in this folder, use the{% include file_name.html %}
syntax to pull the content of the file in to your page.
Current includes are:
** head.html
** header.html
** sidenav.html
** styles.html
** components/footer--medium.html
** components/hero.html
NOTE: items in the _includes/components
folders are organized here so that they overwrite the original files used in the uswds-template.
- Fork the repository (or clone it if you have commit access)
- Create a feature branch
- Make your changes in the feature branch
- Commit the feature branch
- Push the feature branch to GitHub (preview your changes at
https://federalist-proxy.app.cloud.gov/site/gsa/jobkit/BRANCH_NAME/
) - Open a pull request to merge the feature branch
Please submit a new issue if you need to:
- Report a website bug
- Propose a change to the website content
We make use of Federalist's continuous deployment system, which automatically deploys branches as soon as it detects a push to GitHub. Therefore, as soon as your pull request is accepted into the master
branch, it goes to production.