2025-02-12 03:31:06 +00:00
|
|
|
<h1> ThreeFold BYOI Cloud Website</h1>
|
2025-01-14 21:27:11 +00:00
|
|
|
|
2025-02-12 03:31:06 +00:00
|
|
|
<h2>Table of Contents</h2>
|
2025-01-14 21:27:11 +00:00
|
|
|
|
2025-02-12 03:31:06 +00:00
|
|
|
- [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
|
2025-01-14 21:27:11 +00:00
|
|
|
|
2025-02-10 12:28:14 +00:00
|
|
|
```bash
|
|
|
|
curl https://raw.githubusercontent.com/freeflowuniverse/herolib/refs/heads/development/install_hero.sh > /tmp/install_hero.sh
|
|
|
|
bash /tmp/install_hero.sh
|
|
|
|
```
|
2025-01-14 21:27:11 +00:00
|
|
|
|
2025-02-12 03:31:06 +00:00
|
|
|
## Deploy Locally
|
2025-01-14 21:27:11 +00:00
|
|
|
|
2025-02-12 03:31:06 +00:00
|
|
|
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.
|
2025-01-14 21:27:11 +00:00
|
|
|
|
2025-02-10 12:28:14 +00:00
|
|
|
```
|
2025-02-12 03:31:06 +00:00
|
|
|
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
|
|
|
|
```
|
2025-01-14 21:27:11 +00:00
|
|
|
|
|
|
|
## URL
|
|
|
|
|
2025-02-12 03:31:06 +00:00
|
|
|
- The website in staging mode is at https://dev.threefold.info/byoi
|
|
|
|
- The website in production mode is at https://threefold.info/byoi
|