diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ca25c2f..72fddfc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,9 +10,19 @@ a Ruby based static site generator, with [Just the Docs](https://github.com/just You can use the following Docker command to build and serve the site: ```shell -docker run -p 4000:4000 -v $(pwd):/site bretfisher/jekyll-serve +cd spec.openapis.org +rm Gemfile.lock # The docker image uses a different gem version which breaks with this one +docker run --rm \ + --volume="$PWD:/srv/jekyll:Z" \ + -p '4000:4000' \ + jekyll/jekyll \ + jekyll serve ``` +(If `docker` is not running, check your Docker installation guide. +On MacOS, for example, running the Docker IO will start the +Docker daemon so the `docker` command will work.) + ### Local Ruby dev You will need to set up Ruby locally to run the server and see your changes.