Running the docs.rockylinux.org website locally for web development | Podman¶
This document walks through how to recreate and run a local copy of the entire docs.rockylinux.org website on your local machine.
Running a local copy of the documentation website might be useful in the following scenarios:
You are interested in learning about and contributing to the web development aspects of the docs.rockylinux.org website
You are an author and you'd like to see how your documents will render/look on the docs website before contributing them
Ensure that the prerequisites are satisfied. If not please skip to the "Setup the prerequisites" section and then return here.
Change the current working directory on your local system to a folder where you intend to do your writing.
We will refer to this directory as
$ROCKYDOCS in the rest of this guide. For our demo here, $ROCKYDOCS points to $HOME/projects/rockydocs on our demo system.
Create $ROCKYDOCS if it doesn't already exist and change your working directory to $ROCKYDOCS type:
mkdir -p $HOME/projects/rockydocs
export ROCKYDOCS=${HOME}/projects/rockydocs
cd $ROCKYDOCS
Ensure you have git installed (dnf -y install git). While in $ROCKYDOCS use git to clone the official Rocky Documentation content repo. Type: