Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
926edb530e | ||
|
c111b501b7 |
43
README.md
43
README.md
@ -1,26 +1,47 @@
|
||||
<h1>ThreeFold DePIN Board</h1>
|
||||
<h1> ThreeFold DePIN Cloud Website</h1>
|
||||
|
||||
<h2>Table of Contents</h2>
|
||||
|
||||
to run in development mode
|
||||
- [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
|
||||
|
||||
```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
|
||||
```
|
||||
|
||||
to push
|
||||
## Push Changes
|
||||
|
||||
```bash
|
||||
hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_depin -bp -update
|
||||
- Development
|
||||
```
|
||||
hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_depin -bpd
|
||||
```
|
||||
- Production
|
||||
|
||||
#push for development:
|
||||
hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_depin -bpd -update
|
||||
```
|
||||
```bash
|
||||
hero docusaurus -u https://git.ourworld.tf/tfgrid/docs_depin -bp
|
||||
```
|
||||
|
||||
## URL
|
||||
|
||||
- The production website is available at `https://threefold.info/depin`
|
||||
- The website in staging mode is at https://dev.threefold.info/depin
|
||||
- The website in production mode is at https://threefold.info/depin
|
16
develop.sh
16
develop.sh
@ -1,16 +0,0 @@
|
||||
#!/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
|
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user