From 5004710640dae37fa7beb0f9c398cfdde044d0b3 Mon Sep 17 00:00:00 2001 From: mik-tf Date: Tue, 11 Feb 2025 20:45:52 -0500 Subject: [PATCH] updafe cfg --- README.md | 42 ++++++++++++++++++++++++++++++++---------- cfg/main.json | 6 +++--- 2 files changed, 35 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 963dfa8..4393703 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,47 @@ -

ThreeFold Technology Vision Docs

+

ThreeFold TFGrid Main Documentation Website

+

Table of Contents

-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 curl https://raw.githubusercontent.com/freeflowuniverse/herolib/refs/heads/development/install_hero.sh > /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 ``` -to push +## Push Changes -```bash -hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_tfgrid4_tech -bp +- Development + ``` + hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_tfgrid4_tech -bpd + ``` +- Production -#push for development: -hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_tfgrid4_tech -bpd -``` + ```bash + hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_tfgrid4_tech -bp + ``` ## URL -- The production website is available at `https://info.ourworld.tf/depin` \ No newline at end of file +- The website in staging mode is at https://dev.threefold.info/tech +- The website in production mode is at https://threefold.info/tech \ No newline at end of file diff --git a/cfg/main.json b/cfg/main.json index a8043d5..376b5c5 100644 --- a/cfg/main.json +++ b/cfg/main.json @@ -3,7 +3,7 @@ "tagline": "Geo Aware Internet Platform", "favicon": "img/favicon.png", "url": "https://threefold.info", - "url_home": "docs/", + "url_home": "docs/introduction", "baseUrl": "/tftech/", "image": "img/tf_graph.png", "metadata": { @@ -11,6 +11,6 @@ "image": "https://threefold.info/tftech/img/tf_graph.png", "title": "ThreeFold Technology Vision" }, - "buildDest":["root@info.ourworld.tf:/root/hero/www/info/tech"], - "buildDestDev":["root@info.ourworld.tf:/root/hero/www/infodev/tech"] + "buildDest":"root@info.ourworld.tf:/root/hero/www/info/tech", + "buildDestDev":"root@info.ourworld.tf:/root/hero/www/infodev/tech" }