2025-02-12 01:45:52 +00:00
|
|
|
<h1> ThreeFold TFGrid Main Documentation Website</h1>
|
2025-02-10 06:39:58 +00:00
|
|
|
|
2025-02-12 01:45:52 +00:00
|
|
|
<h2>Table of Contents</h2>
|
2025-01-16 06:31:21 +00:00
|
|
|
|
2025-02-12 01:45:52 +00:00
|
|
|
- [Introduction](#introduction)
|
|
|
|
- [Install Hero](#install-hero)
|
|
|
|
- [Deploy Locally](#deploy-locally)
|
|
|
|
- [Push Changes](#push-changes)
|
|
|
|
- [URL](#url)
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## Introduction
|
|
|
|
|
|
|
|
This repository contains the code to deploy the ThreeFold TFGrid Main Documentation website.
|
|
|
|
|
|
|
|
## Install Hero
|
2025-01-16 06:42:17 +00:00
|
|
|
|
2025-02-05 09:54:34 +00:00
|
|
|
```bash
|
2025-02-10 12:24:15 +00:00
|
|
|
curl https://raw.githubusercontent.com/freeflowuniverse/herolib/refs/heads/development/install_hero.sh > /tmp/install_hero.sh
|
2025-02-10 06:39:58 +00:00
|
|
|
bash /tmp/install_hero.sh
|
2025-02-12 01:45:52 +00:00
|
|
|
```
|
2025-01-16 06:42:17 +00:00
|
|
|
|
2025-02-12 01:45:52 +00:00
|
|
|
## Deploy Locally
|
|
|
|
|
|
|
|
You can run the website in your development environment on a local browser. Make sure to start a new shell if you've just installed Hero.
|
|
|
|
|
|
|
|
```
|
2025-02-10 12:24:15 +00:00
|
|
|
hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_tfgrid4_tech -d
|
2025-02-05 09:54:34 +00:00
|
|
|
```
|
2025-01-16 06:42:17 +00:00
|
|
|
|
2025-02-12 01:45:52 +00:00
|
|
|
## Push Changes
|
2025-01-16 06:42:17 +00:00
|
|
|
|
2025-02-12 01:45:52 +00:00
|
|
|
- Development
|
|
|
|
```
|
|
|
|
hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_tfgrid4_tech -bpd
|
|
|
|
```
|
|
|
|
- Production
|
2025-01-16 06:42:17 +00:00
|
|
|
|
2025-02-12 01:45:52 +00:00
|
|
|
```bash
|
|
|
|
hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_tfgrid4_tech -bp
|
|
|
|
```
|
2025-02-10 06:39:58 +00:00
|
|
|
|
|
|
|
## URL
|
|
|
|
|
2025-02-12 01:45:52 +00:00
|
|
|
- The website in staging mode is at https://dev.threefold.info/tech
|
|
|
|
- The website in production mode is at https://threefold.info/tech
|