This repository uses git submodules to pull in the main OpenTofu repository. You can clone it using the following two steps:
git clone git@github.com:opentofu/opentofu.org.git
cd opentofu.org
git submodule init
git submodule update
You can run the dev server if you have a local NodeJS/npm environment installed:
npm i
npm run start
You can now access the site locally at http://localhost:3000/
You can also run the dev server in a container with the following command:
docker compose up --build