Forklift is an upstream project for migrating virtual machines from VMware or oVirt to KubeVirt.
This project is Apache 2.0 licensed and accepts contributions via GitHub pull requests.
See CONTRIBUTING for details.
You can build a document preview by running a Jekyll container.
You must have Podman installed.
- Clone the repository:
$ git clone -b source https://github.com/konveyor/forklift-documentation.git && cd forklift-documentation
- Create
.jekyll-cache
and_site
directories:
$ for i in .jekyll-cache _site; do mkdir ${i} && chmod 777 ${i}; done
- Create a
Gemfile.lock
file:
$ for i in Gemfile.lock; do touch ${i} && chmod 777 ${i}; done
- Run a Jekyll container:
-
If your operating system is SELinux-enabled:
$ 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
) relabels the contents so that they can be written from within the container, like runningchcon -Rt svirt_sandbox_file_t -l s0:c1,c2
yourself. You must run this command in the cloned directory. -
If your operating system is not SELinux-enabled:
$ podman run -it --rm --name jekyll -p 4000:4000 -v $(pwd):/srv/jekyll jekyll/jekyll jekyll serve --watch --future
- Navigate to
http://<localhost>:4000
in a web browser to view the preview.