This guide was developed for 18F employees, but we hope itβs a useful reference for anyone.
The 18F Project Guide runs on Jekyll.
To run it locally:
- Make sure that you have Ruby 2.3. At present, this project is incompatible with Ruby 2.4.
- Clone the repository.
- Get Jekyll and the necessary dependencies:
bundle install
- Run the web server with
./go serve
(orjekyll serve
if you have Jekyll installed globally) - Visit the local site at http://localhost:4000
Note that you will also need Node.js in order for the site's built-in search functionality to work. If you don't have it, that's ok--the search functionality won't work for you, though.
If you don't want to have to deal with making sure that you have the proper version of Ruby and Node installed, you can use Docker instead. It takes care of all the dependencies for you.
- Install Docker Community Edition.
- Clone the repository.
- Run
docker-compose up
. - Visit the local site at http://localhost:4000
If you ever decide that you no longer want to use Docker, run
docker-compose down -v
to properly clean everything up.
This project is in the worldwide public domain.
As a work of the United States government, this project is in the public domain within the United States.
Additionally, we waive copyright and related rights in the work worldwide through the CC0 1.0 Universal public domain dedication.