Check https://redhat-cop.github.io/openshift-migration-best-practices/ for the rendered version of the documents.
Read the Guidelines for Red Hat Documentation before opening a pull request.
You can test the changes to this repository via a container.
-
Clone repository, check out source branch and prepare the Jekyll site
git clone -b source https://github.com/redhat-cop/openshift-migration-best-practices.git && cd openshift-migration-best-practices for i in .jekyll-cache _site; do mkdir ${i} && chmod 777 ${i}; done for i in Gemfile.lock; do touch ${i} && chmod 777 ${i}; done
-
On a SELinux enabled OS:
podman run -it --rm --name jekyll -p 4000:4000 -v $(pwd):/srv/jekyll:Z jekyll/jekyll jekyll serve --watch --future
NOTE: The Z at the end of the volume (-v) will relabel its contents so that it can be written from within the container, like running
chcon -Rt svirt_sandbox_file_t -l s0:c1,c2
yourself. Be sure that you have changed your present working directory to the git cloned directory as shown above. -
On an OS without SELinux:
podman run -it --rm --name jekyll -p 4000:4000 -v $(pwd):/srv/jekyll jekyll/jekyll jekyll serve --watch --future
Visit http://<localhost>:4000
in your local browser.