diff --git a/README.md b/README.md index 9430537..1dc460e 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,47 @@ -

ThreeFold DeCloud Docs

+

ThreeFold Decentralized Cloud 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 Decentalized 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) +``` +## 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_decloud -d ``` -to push +## Push Changes -```bash -hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_decloud -bp +- Development + ``` + hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_decloud -bpd + ``` +- Production -#push for development: -hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_decloud -bpd -``` + ```bash + hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_decloud -bp + ``` ## URL -- The production website is available at `https://threefold.info/decloud` \ No newline at end of file +- The website in staging mode is at https://dev.threefold.info/decloud +- The website in production mode is at https://threefold.info/decloud \ No newline at end of file diff --git a/cfg/main.json b/cfg/main.json index 0743bd9..069d9e5 100644 --- a/cfg/main.json +++ b/cfg/main.json @@ -2,7 +2,7 @@ "title": "ThreeFold Decentralized Cloud", "tagline": "Self-Healing Data & Cloud Network", "url": "https://threefold.info", - "url_home": "docs/introduction", + "url_home": "docs/", "baseUrl": "/decloud/", "favicon": "img/favicon.png", "metadata": [ @@ -23,7 +23,7 @@ "content": "Introduction | ThreeFold Docs" } ], - "buildDest":["root@info.ourworld.tf:/root/hero/www/info/decloud"], - "buildDestDev":["root@info.ourworld.tf:/root/hero/www/infodev/decloud"] + "buildDest":"root@info.ourworld.tf:/root/hero/www/info", + "buildDestDev":"root@info.ourworld.tf:/root/hero/www/infodev" } diff --git a/docs/introduction.md b/docs/introduction.md index 01b024b..9dc22e8 100644 --- a/docs/introduction.md +++ b/docs/introduction.md @@ -1,5 +1,6 @@ --- sidebar_position: 1 +slug: / --- # Decentralizing the Cloud