updafe cfg

This commit is contained in:
mik-tf 2025-02-11 20:45:52 -05:00
parent 4b4dac1191
commit 5004710640
2 changed files with 35 additions and 13 deletions

View File

@ -1,25 +1,47 @@
<h1>ThreeFold Technology Vision Docs</h1> <h1> ThreeFold TFGrid Main Documentation Website</h1>
<h2>Table of Contents</h2>
get hero - [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
```bash ```bash
curl https://raw.githubusercontent.com/freeflowuniverse/herolib/refs/heads/development/install_hero.sh > /tmp/install_hero.sh curl https://raw.githubusercontent.com/freeflowuniverse/herolib/refs/heads/development/install_hero.sh > /tmp/install_hero.sh
bash /tmp/install_hero.sh bash /tmp/install_hero.sh
#DONT FORGET TO START A NEW SHELL (otherwise the paths will not be set) ```
## 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.
```
hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_tfgrid4_tech -d hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_tfgrid4_tech -d
``` ```
to push ## Push Changes
- Development
```
hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_tfgrid4_tech -bpd
```
- Production
```bash ```bash
hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_tfgrid4_tech -bp hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_tfgrid4_tech -bp
#push for development:
hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_tfgrid4_tech -bpd
``` ```
## URL ## URL
- The production website is available at `https://info.ourworld.tf/depin` - The website in staging mode is at https://dev.threefold.info/tech
- The website in production mode is at https://threefold.info/tech

View File

@ -3,7 +3,7 @@
"tagline": "Geo Aware Internet Platform", "tagline": "Geo Aware Internet Platform",
"favicon": "img/favicon.png", "favicon": "img/favicon.png",
"url": "https://threefold.info", "url": "https://threefold.info",
"url_home": "docs/", "url_home": "docs/introduction",
"baseUrl": "/tftech/", "baseUrl": "/tftech/",
"image": "img/tf_graph.png", "image": "img/tf_graph.png",
"metadata": { "metadata": {
@ -11,6 +11,6 @@
"image": "https://threefold.info/tftech/img/tf_graph.png", "image": "https://threefold.info/tftech/img/tf_graph.png",
"title": "ThreeFold Technology Vision" "title": "ThreeFold Technology Vision"
}, },
"buildDest":["root@info.ourworld.tf:/root/hero/www/info/tech"], "buildDest":"root@info.ourworld.tf:/root/hero/www/info/tech",
"buildDestDev":["root@info.ourworld.tf:/root/hero/www/infodev/tech"] "buildDestDev":"root@info.ourworld.tf:/root/hero/www/infodev/tech"
} }