opentofu.org/README.md
Joshua Shanks e6d8f6dd42
Add cd command before git submodules command under Fetch the documentation section (#238)
Signed-off-by: Joshua Shanks <jjshanks@gmail.com>
2024-01-06 00:06:47 +01:00

1.1 KiB

OpenTofu OpenTofu

Stack

  • Docusaurus
  • React
  • TypeScript
  • Tailwind CSS

Working with this repository

Cloning the repository

This repository uses git submodules to pull in the main OpenTofu repository. You can clone it using the following two steps:

  1. Clone the repository:
git clone git@github.com:opentofu/opentofu.org.git
  1. Fetch the documentation:
cd opentofu.org
git submodule init
git submodule update

Running the dev server locally

You can run the dev server if you have a local NodeJS/npm environment installed:

  1. Install dependencies:
npm i
  1. Start the development server:
npm run start

You can now access the site locally at http://localhost:3000/

Running the dev server in a container

You can also run the dev server in a container with the following command:

docker compose up --build