From 90fffc8f56dee5087b434a8e7d0351707f0d35a0 Mon Sep 17 00:00:00 2001 From: mik-tf Date: Tue, 11 Feb 2025 22:31:06 -0500 Subject: [PATCH] updafe cfg --- README.md | 44 +++++++++++++++++++++++++++++++++----------- cfg/main.json | 4 ++-- cfg/navbar.json | 5 +++++ 3 files changed, 40 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 59da395..ef83c10 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,47 @@ -

ThreeFold Bring Your Own Internet

+

ThreeFold BYOI Cloud Website

+

Table of Contents

-get hero +- [Introductiona](#introductiona) +- [Install Hero](#install-hero) +- [Deploy Locally](#deploy-locally) +- [Push Changes](#push-changes) +- [URL](#url) + +--- + +## Introductiona + +This repository contains the code to deploy the ThreeFold BYOI Cloud 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) - -hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_bring_your_own_internet -d ``` -to push +## Deploy Locally -```bash -hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_bring_your_own_internet -bp +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. -#push for development: -hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_bring_your_own_internet -bpd ``` +hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_byoi -d +``` + +## Push Changes + +- Development + ``` + hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_byoi -bpd + ``` +- Production + + ```bash + hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_byoi -bp + ``` ## URL -- The production website is available at `https://info.ourworld.tf/byoi` \ No newline at end of file +- The website in staging mode is at https://dev.threefold.info/byoi +- The website in production mode is at https://threefold.info/byoi \ No newline at end of file diff --git a/cfg/main.json b/cfg/main.json index 0f5bb90..676a45b 100644 --- a/cfg/main.json +++ b/cfg/main.json @@ -11,6 +11,6 @@ "image": "https://info.ourworld.tf/img/tf_graph.png", "title": "Build Your Own Internet" }, - "buildDest": ["root@info.ourworld.tf:/root/hero/www/info/byoi"], - "buildDestDev": ["root@info.ourworld.tf:/root/hero/www/infodev/byoi"] + "buildDest": "root@info.ourworld.tf:/root/hero/www/info", + "buildDestDev": "root@info.ourworld.tf:/root/hero/www/infodev" } \ No newline at end of file diff --git a/cfg/navbar.json b/cfg/navbar.json index d3233f0..83b386d 100644 --- a/cfg/navbar.json +++ b/cfg/navbar.json @@ -1,5 +1,10 @@ { "title": "", + "logo": { + "alt": "ThreeFold Logo", + "src": "img/new_logo_tft.png", + "srcDark": "img/new_logo_tft.png" + }, "items": [ { "type": "docSidebar",