The OpenTofu Website
Find a file
Roman Grinovski bc4088c0fe
I approve usage of my work
Signed-off-by: Roman Grinovski <roman.grinovski@gmail.com>
2024-04-24 10:12:35 +02:00
.github Remove redundant trigger types from workflow (#208) 2024-01-15 10:04:04 +00:00
.husky Set up prettier + precommit hook (#162) 2023-09-20 12:45:52 +02:00
blog Fix link in ga blog post. (#249) 2024-01-10 15:40:02 +01:00
plugins Set up prettier + precommit hook (#162) 2023-09-20 12:45:52 +02:00
src Fixing missing license (needs signoff from all contributors) (#272) 2024-02-28 12:57:16 +01:00
static Fix Slack link (#271) 2024-02-04 11:42:48 +01:00
versioned_sidebars Added first version of versioned-docs 2024-04-03 13:06:04 +01: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 Move main repo to a submodule to enable live editing (#214) 2023-11-28 14:32:58 +00:00
.gitmodules Switching the website to the v1.6 branch (#251) 2024-01-10 11:05:29 -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 first version of versioned-docs 2024-04-03 13:06:04 +01:00
faq.mdx Update FAQ. (#246) 2024-01-10 14:21:40 +01:00
LICENSE Fixing missing license (needs signoff from all contributors) (#272) 2024-02-28 12:57:16 +01:00
package-lock.json rearranged the order in which 4 subsections of documents appear (#277) 2024-03-04 12:37:35 +01:00
package.json Fixing missing license (needs signoff from all contributors) (#272) 2024-02-28 12:57:16 +01:00
README.md Add cd command before git submodules command under Fetch the documentation section (#238) 2024-01-06 00:06:47 +01:00
sidebars.json Added first version of versioned-docs 2024-04-03 13:06:04 +01:00
supporters.json [Auto PR] Update supporters (#268) 2024-02-05 10:38:09 +00:00
sync-supporters.js add empty line when generating supporters.json (#178) 2023-09-22 15:18:38 +02:00
tailwind.config.js search improvement on mobile (#143) 2023-09-19 17:13:36 +02:00
tsconfig.json Upgrade to Docusaurus v3.1 (#99) 2024-01-12 13:30:13 +01:00
versions.json Added first version of versioned-docs 2024-04-03 13:06:04 +01:00

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