The OpenTofu Website
Find a file
Artem_is_env0 d739697509
Some checks failed
Deploy to GitHub Pages / deploy (push) Has been cancelled
Env0 to Change logo from v1 > v2 (#405)
Signed-off-by: Artem_is_env0 <artem.artyunov@env0.com>
2025-12-22 14:51:40 +02:00
.github Removing always-failing dev deploy (#297) 2024-05-15 15:38:11 +02:00
.husky docs: Small updates to the formatting of the README. (#335) 2024-10-30 18:28:18 +01:00
.vscode docs: Small updates to the formatting of the README. (#335) 2024-10-30 18:28:18 +01:00
blog blog: OpenTofu v1.11.0 release announcement (#396) 2025-12-09 14:10:47 -05:00
opentofu-repo Bump opentofu repos to latest commits (#404) 2025-12-15 08:49:58 -05:00
scripts Redesign landing page to focus on OpenTofu's future (#365) 2025-05-01 10:47:56 +01:00
src Added Datadog as a service sponsor of OpenTofu (#393) 2025-12-01 15:31:11 +00:00
static Env0 to Change logo from v1 > v2 (#405) 2025-12-22 14:51:40 +02:00
versioned_docs Add v1.11 as a beta release for the docs sidebar (#389) 2025-10-23 15:37:48 +01:00
versioned_sidebars Add v1.11 as a beta release for the docs sidebar (#389) 2025-10-23 15:37:48 +01:00
.eslintignore Add eslintignore and remove eslint from precommit hook (#168) 2023-09-20 15:53:50 +02:00
.eslintrc.js Ephemeral blog post (#384) 2025-09-29 06:25:50 -04:00
.gitignore docs: Small updates to the formatting of the README. (#335) 2024-10-30 18:28:18 +01:00
.gitmodules Fix git v1.11 submodule (#390) 2025-10-23 11:02:05 -04:00
babel.config.js Set up docusaurus (#1) 2023-08-30 13:52:34 +02:00
CODEOWNERS Create CODEOWNERS (#399) 2025-12-10 11:07:27 -03:00
docker-compose.yaml Adding build container (#220) 2023-11-29 14:44:06 +00:00
Dockerfile Adding build container (#220) 2023-11-29 14:44:06 +00:00
docs Use currentVersion instead of lastVersion in docusaurus (#400) 2025-12-10 10:02:28 -05:00
docusaurus.config.ts Fix broken link in announcement bar (#403) 2025-12-15 09:53:38 +00:00
faq.mdx Redesign landing page to focus on OpenTofu's future (#365) 2025-05-01 10:47:56 +01:00
LICENSE Fixing missing license (needs signoff from all contributors) (#272) 2024-02-28 12:57:16 +01:00
package-lock.json Redesign landing page to focus on OpenTofu's future (#365) 2025-05-01 10:47:56 +01:00
package.json Redesign landing page to focus on OpenTofu's future (#365) 2025-05-01 10:47:56 +01:00
README.md docs: Small updates to the formatting of the README. (#335) 2024-10-30 18:28:18 +01:00
sidebars.json Versioned docs (#289) 2024-04-24 15:53:41 +02:00
supporters.json Update supporters (#361) 2025-03-19 08:46:39 +00:00
sync-supporters.js add empty line when generating supporters.json (#178) 2023-09-22 15:18:38 +02:00
tailwind.config.js Redesign landing page to focus on OpenTofu's future (#365) 2025-05-01 10:47:56 +01:00
tsconfig.json Upgrade to Docusaurus v3.1 (#99) 2024-01-12 13:30:13 +01:00
versions.json Add v1.11 as a beta release for the docs sidebar (#389) 2025-10-23 15:37:48 +01:00

OpenTofu

Stack

Cloning the repository

This repository uses Git submodules to pull in the main OpenTofu repository.

git clone --recurse-submodules git@github.com:opentofu/opentofu.org.git
Oops! I forgot to recurse submodules…
cd opentofu.org
git submodule init
git submodule update

Development

You can either develop locally, or by using a local Docker container.

Option A: Running the dev server locally

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

  1. Install dependencies:

    npm install
    
  2. Start the development server:

    npm run start
    
  3. You can now access the site locally at http://localhost:3000.

Option A: Running the dev server in a container

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

docker compose up --build

Troubleshooting

The docs folder does not exist for version "vX.Y"

Error: The docs folder does not exist for version "vX.Y". A docs folder is expected to be found at versioned_docs/version-vX.Y.

Make sure you installed the Git submodules. See above for instructions.

Contributing

When you contribute code to OpenTofu, do not forget to sign off your commits as described here.