Compare commits

..

No commits in common. "969884316ded95012fd985b31131322611f77113" and "798b7974846e56d9ea92d076e4995af40e8bbda3" have entirely different histories.

4 changed files with 12 additions and 18 deletions

View File

@ -5,7 +5,7 @@ to run in development mode
```bash ```bash
#first time to get hero #first time to get hero
curl https://raw.githubusercontent.com/freeflowuniverse/herolib/refs/heads/development/install_hero.sh > /tmp/install_hero.sh curl https://raw.githubusercontent.com/freeflowuniverse/herolib/refs/heads/development_kristof10/install_hero.sh > /tmp/install_hero.sh
bash /tmp/install_hero.sh bash /tmp/install_hero.sh
#DONT FORGET TO START A NEW SHELL (otherwise the paths will not be set) #DONT FORGET TO START A NEW SHELL (otherwise the paths will not be set)
@ -15,13 +15,13 @@ hero docusaurus -u https://git.ourworld.tf/tfgrid/info_docs_depin -d
to push to push
```bash ```bash
hero docusaurus -u https://git.ourworld.tf/tfgrid/info_docs_depin -bp -update hero docusaurus -u https://git.ourworld.tf/tfgrid/info_docs_depin -b
#push for development: #push for development:
hero docusaurus -u https://git.ourworld.tf/tfgrid/info_docs_depin -bpd -update hero docusaurus -u https://git.ourworld.tf/tfgrid/info_docs_depin -bd
``` ```
## URL ## URL
- The production website is available at `https://threefold.info/depin` - The production website is available at `https://info.ourworld.tf/depin`
- The staging website is available at `https://threefold.info/depindev` - The staging website is available at `https://info.ourworld.tf/depindev`

View File

@ -1,22 +1,18 @@
#!/bin/bash #!/bin/bash
set -ex set -e
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$(script_dir}" cd "${script_dir}"
echo "Docs directory: $script_dir" echo "Docs directory: $script_dir"
cd /Users/despiegk/hero/var/docusaurus cd /Users/despiegk/hero/var/docusaurus
export PATH=/tmp/docusaurus_build/node_modules/.bin:${HOME}/.bun/bin/:$PATH export PATH=/tmp/docusaurus_build/node_modules/.bin:$PATH
rm -rf /Users/despiegk/hero/var/docusaurus/build/ rm -rf /Users/despiegk/hero/var/docusaurus/build/
. /Users/despiegk/.zprofile
bun docusaurus build bun docusaurus build
mkdir -p rsync -rv --delete /Users/despiegk/hero/var/docusaurus/build/ root@info.ourworld.tf:/root/hero/www/info/depin/
echo SYNC TO
rsync -rv --delete /Users/despiegk/hero/var/docusaurus/build/ /

View File

@ -11,6 +11,6 @@
"image": "https://info.ourworld.tf/img/ourworld_depin.png", "image": "https://info.ourworld.tf/img/ourworld_depin.png",
"title": "Introduction | DePIN Projects" "title": "Introduction | DePIN Projects"
}, },
"buildDest": ["root@info.ourworld.tf:/root/hero/www/info/depin"], "buildDest": "root@info.ourworld.tf:/root/hero/www/info",
"buildDestDev": ["root@info.ourworld.tf:/root/hero/www/infodev/depin"] "buildDestDev": "root@info.ourworld.tf:/root/hero/www/infodev"
} }

View File

@ -9,8 +9,6 @@ echo "Docs directory: $script_dir"
cd ~/hero/var/docusaurus cd ~/hero/var/docusaurus
export PATH=/tmp/docusaurus_build/node_modules/.bin:${HOME}/.bun/bin/:$PATH export PATH=/tmp/docusaurus_build/node_modules/.bin:$PATH
. /Users/despiegk/.zprofile
bun run start -p 3100 bun run start -p 3100