This commit is contained in:
despiegk 2025-02-05 12:54:34 +03:00
parent 10038d2fc0
commit 19527cc5a3

View File

@ -1,37 +1,21 @@
<h1>ThreeFold Tech Website</h1>
<h1>ThreeFold Technology Vision Website</h1>
<h2>Table of Contents</h2>
to run in development mode
- [Introduction](#introduction)
- [Steps](#steps)
- [URL](#url)
```bash
#first time to get hero
curl 'https://raw.githubusercontent.com/freeflowuniverse/herolib/refs/heads/main/install_v.sh' > /tmp/install_v.sh
bash /tmp/install_v.sh --analyzer --herolib
#DONT FORGET TO START A NEW SHELL (otherwise the paths will not be set)
---
## Introduction
This repository contains the code to deploy the ThreeFold Tech website.
## Steps
- Install
```
bash install.sh
```
- Run locally
```
bash develop.sh
```
- Push change online to stating website
```
bash build-dev.sh
```
- Push change online to production website
```
bash build.sh
hero docusaurus -u https://git.ourworld.tf/tfgrid/info_docs_tfgrid4_techn -d
```
## URL
to push
- The website in staging mode is at `threefold.info/tftechdev`
- The website in production mode is at `threefold.info/tftech`
```bash
hero docusaurus -u https://git.ourworld.tf/tfgrid/info_docs_tfgrid4_tech -b
#push for development:
hero docusaurus -u https://git.ourworld.tf/tfgrid/info_docs_tfgrid4_tech -bd
```