9e376b13f2439957f7e492d90b4dd6976b889ab7
Reviewed-on: #6
info for our new Internet / Social network
First install hero:
curl https://raw.githubusercontent.com/freeflowuniverse/crystallib/development/scripts/installer_hero.sh > /tmp/hero_install.sh
bash /tmp/hero_install.sh
#check how to use, can also do on each of the subcommands
hero -help
#if it can't find hero, do the following on osx
source ~/.zprofile
to run the book
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript
# in case you want to open the generated book and edit
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript -e
troubleshoot
for Ubuntu, ...
apt update
apt install curl -y
for OSX
if you see the following, it means you have an outdated brew on your laptop
## stderr:
Error: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)!
to fix:
#uninstall
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
rm -rf /opt/homebrew
#re-install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Description
Languages
HTML
58.8%
Shell
27.1%
Mermaid
10.9%
V
2.6%
Makefile
0.6%