updafe cfg
This commit is contained in:
parent
ca9bd7a6fd
commit
90fffc8f56
44
README.md
44
README.md
@ -1,25 +1,47 @@
|
||||
<h1>ThreeFold Bring Your Own Internet</h1>
|
||||
<h1> ThreeFold BYOI Cloud Website</h1>
|
||||
|
||||
<h2>Table of Contents</h2>
|
||||
|
||||
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
|
||||
|
||||
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_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_bring_your_own_internet -bp
|
||||
|
||||
#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 -bp
|
||||
```
|
||||
|
||||
## URL
|
||||
|
||||
- The production website is available at `https://info.ourworld.tf/byoi`
|
||||
- The website in staging mode is at https://dev.threefold.info/byoi
|
||||
- The website in production mode is at https://threefold.info/byoi
|
@ -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"
|
||||
}
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"title": "",
|
||||
"logo": {
|
||||
"alt": "ThreeFold Logo",
|
||||
"src": "img/new_logo_tft.png",
|
||||
"srcDark": "img/new_logo_tft.png"
|
||||
},
|
||||
"items": [
|
||||
{
|
||||
"type": "docSidebar",
|
||||
|
Loading…
Reference in New Issue
Block a user