A guide for developers looking to release and maintain quality software, written as a data-driven DocOps Jekyll document.
You can read the compiled documentation here.
These instructions will get your copy of the project up and running on your local machine for development and testing purposes.
You need to have Docker (and optionally Ruby) installed to test locally:
-
Docker: You can install Docker by following the instructions on the official Docker website.
-
Ruby: You can install Ruby by following the instructions on the official Ruby website.
After installing Ruby, you will need to install Bundler and Rake:
gem install bundler rake
-
Clone the repository:
git clone https://github.com/mesolimbo/definition-of-done.git
-
Navigate to the project directory:
cd definition-of-done
-
If you are using bundler, install the dependencies (and keep them up to date) with:
bundle install
-
Build the Docker image:
docker build -t jekyll-site .
or using bundler:
bundle exec rake docker:build
-
You'll need to run steps 3 and 4 again to rebuild if the Gemfile or Gemfile.lock changes.
-
Run the Docker container:
docker run --rm -p 4000:4000 -v "$PWD:/usr/src/app" \ jekyll-site bundle exec jekyll serve \ --source /usr/src/app/docs --host 0.0.0.0
or using bundler:
bundle exec rake docker:run
Now, you can browse the documentation at http://localhost:4000.
The Markdown documentation in this project is compiled automatically by Github using Jekyll whenever you commit changes to the main branch in the docs
folder.
The core of the documentation is located in a set of YAML data files in the _data
directory. The sections.yml
file lists all the sections, their title
and blurb
, as well as a the name of each section's details
YAML file.
Each section's details file contains a list of steps, each with a title
, summary
, and expandable content
. The details are written in Markdown and can include HTML.
A stylesheet is located at docs/assets/css/style.scss
. You can customize the CSS by editing this file.
Please see CONTRIBUTING.md