The OpenTofu Website
Find a file
Christian Mesh a0f43b69bd
Fix slack link (#355)
Somehow slack removed our "forever" link I created last time...

Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-01-30 15:19:18 -05: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 1.9 blog post changes (#352) 2025-01-21 08:13:24 -05:00
opentofu-repo Bump to latest commits in opentofu-repo/* (#353) 2025-01-24 13:15:21 -05:00
src Remove OpenTF reference (#354) 2025-01-30 15:18:55 -05:00
static Fix slack link (#355) 2025-01-30 15:19:18 -05: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 1.9.0 blog post (again) (#349) 2025-01-10 10:14:43 +01:00
faq.mdx Update FAQ per opentofu/opentofu.org/issues/261 (#336) 2024-10-30 12:40:03 +01:00
LICENSE Fixing missing license (needs signoff from all contributors) (#272) 2024-02-28 12:57:16 +01:00
package-lock.json Bump body-parser and express (#333) 2024-10-29 10:12:35 +01:00
package.json Fixing missing license (needs signoff from all contributors) (#272) 2024-02-28 12:57:16 +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 (#339) 2024-11-04 06:14:44 -05:00
sync-supporters.js add empty line when generating supporters.json (#178) 2023-09-22 15:18:38 +02:00
tailwind.config.js Change in color of text when we hover in light mode (#278) 2024-03-20 15:30:31 +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.