The OpenTofu Website
Find a file
Andrei Ciobanu fff0ff0fd4
blog/opentofu-1-10-0-beta1: Add section about the deprecation work (#373)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-05-20 10:49:49 +03: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-1-10-0-beta1: Add section about the deprecation work (#373) 2025-05-20 10:49:49 +03:00
opentofu-repo Added 1.10.0-beta1 blogpost (#371) 2025-05-19 11:57:29 -04:00
scripts Redesign landing page to focus on OpenTofu's future (#365) 2025-05-01 10:47:56 +01:00
src Fixed issue where IDE was transparent on dark mode (#369) 2025-05-01 14:21:01 +01:00
static remove unused and broken images (#315) 2025-05-15 07:40:50 -04:00
versioned_docs 1.9.0 release updates (#347) 2025-01-09 11:18:07 -05:00
versioned_sidebars 1.9.0 release updates (#347) 2025-01-09 11:18:07 -05:00
.eslintignore Add eslintignore and remove eslint from precommit hook (#168) 2023-09-20 15:53:50 +02:00
.eslintrc.js Set up ESLint (#163) 2023-09-20 14:07:55 +02:00
.gitignore docs: Small updates to the formatting of the README. (#335) 2024-10-30 18:28:18 +01:00
.gitmodules 1.9.0 release updates (#347) 2025-01-09 11:18:07 -05:00
babel.config.js Set up docusaurus (#1) 2023-08-30 13:52:34 +02: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
docusaurus.config.ts Added 1.10.0-beta1 blogpost (#371) 2025-05-19 11:57:29 -04: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 1.9.0 release updates (#347) 2025-01-09 11:18:07 -05: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.