Compare commits

..

5 Commits

Author SHA1 Message Date
768f33babe Merge pull request 'update cfg' (!19) from main_new into main
Reviewed-on: #19
2025-03-07 13:13:11 +00:00
mik-tf
c55c9a6931 update cfg 2025-03-07 08:12:55 -05:00
d957d15f36 Merge branch 'main' of https://git.ourworld.tf/tfgrid/docs_depin
# Conflicts:
#	develop.sh
2025-02-19 05:22:44 +03:00
2ad98c9b76 update 2025-02-19 05:22:01 +03:00
mik-tf
e6174be63f updafe cfg 2025-02-11 22:18:05 -05:00
3 changed files with 28 additions and 33 deletions

View File

@ -1,47 +1,26 @@
<h1> ThreeFold DePIN Cloud Website</h1>
<h1>ThreeFold DePIN Board</h1>
<h2>Table of Contents</h2>
- [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 DePIN Cloud website.
## Install Hero
to run in development mode
```bash
#first time to get hero
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_depin -d
```
## Push Changes
to push
- Development
```
hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_depin -bpd
```
- Production
```bash
hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_depin -bp -update
```bash
hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_depin -bp
```
#push for development:
hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_depin -bpd -update
```
## URL
- The website in staging mode is at https://dev.threefold.info/depin
- The website in production mode is at https://threefold.info/depin
- The production website is available at `https://threefold.info/depin`

16
develop.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
set -e
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${script_dir}"
echo "Docs directory: $script_dir"
cd /Users/despiegk/hero/var/docusaurus
export PATH=/tmp/docusaurus_build/node_modules/.bin:${HOME}/.bun/bin/:$PATH
. /Users/despiegk/.zprofile
bun run start -p 3100

View File

@ -5,7 +5,7 @@ description: ThreeFold presents the DePIN Board
# Introduction
Welcome to the DePIN Project website, designed to help you navigate the rapidly evolving landscape of Decentralized Physical Infrastructure Networks (DePIN).
Welcome to the DePIN Project website designed to help you navigate the rapidly evolving landscape of Decentralized Physical Infrastructure Networks (DePIN).
This resource is intended to serve as an educational tool, providing insights into the infrastructure ownership, hardware requirements, software stacks, and compatibility with the ThreeFold Grid. While this material is not exhaustive, it aims to cover a broad spectrum of popular and emerging DePIN projects to help you get started. This project is made on a best effort basis.