Compare commits
271 Commits
ab1fd48e6d
...
developmen
| Author | SHA1 | Date | |
|---|---|---|---|
| 86f346bde7 | |||
| 92b5e8ec3d | |||
| 6c1a90fc9c | |||
| a2de5dc39a | |||
| 28f366cb14 | |||
|
|
2af86d207f | ||
|
|
aa528de052 | ||
|
|
37a4e1340b | ||
|
|
2165ebdad8 | ||
|
|
c38e9fee6e | ||
|
|
db806d1be4 | ||
|
|
eee6081e2b | ||
|
|
be62f26cf9 | ||
|
|
abbabc3b94 | ||
|
|
7a4660b8d3 | ||
|
|
54876636a9 | ||
|
|
f5db05da35 | ||
|
|
a25ecdcc68 | ||
| d5702acbe9 | |||
| d0eb8639d9 | |||
| dc29cd5a16 | |||
| 6d885ff90e | |||
| dcc9e902e6 | |||
| 60b6c802ed | |||
| 7bd1e7a0d8 | |||
| 30df64fcc8 | |||
| b1e98c2051 | |||
| 4806cb355b | |||
| 02e107df25 | |||
| 46912722d1 | |||
| 4a14ee4df1 | |||
| a94b8b0953 | |||
| f8335c9ffb | |||
| e2b2be252e | |||
| 8b28536286 | |||
|
|
3fc87e05a7 | ||
|
|
e5dc4e2e1a | ||
|
|
333df99afd | ||
|
|
eb603e1688 | ||
| 214d8d9b2d | |||
| b844c50634 | |||
| 5c87340c67 | |||
| 2e682b0c60 | |||
| 281f446ef5 | |||
|
|
ef48ccd918 | ||
|
|
f82ddc1e60 | ||
|
|
24f85d4630 | ||
|
|
258871c5b4 | ||
|
|
c2e2028990 | ||
|
|
cbb4210f59 | ||
|
|
f164abb691 | ||
|
|
ff1da8448c | ||
|
|
62d87725f0 | ||
|
|
bb520ff07d | ||
|
|
aca6190879 | ||
|
|
749deec5a6 | ||
|
|
0e127109a1 | ||
|
|
72735301d1 | ||
|
|
322b286c6a | ||
|
|
763bd221b8 | ||
|
|
1f1429bacf | ||
|
|
065b522e48 | ||
|
|
3d3c0a7e41 | ||
|
|
6e7cd5d93d | ||
| a060e879bc | |||
|
|
77bd4bca47 | ||
| 3e7a64289e | |||
| 20c1897b75 | |||
| fb48d517c6 | |||
| 022701a480 | |||
| 9f4bbaa625 | |||
| 5e633c1df3 | |||
| 8b6ff82538 | |||
| 2b977a4fea | |||
| 7a2bb56a3b | |||
| b6889eec02 | |||
| 8266cf4d0e | |||
| 7bf22411d2 | |||
| 1ae78c8b19 | |||
| 3d1abb5be4 | |||
| ea34074571 | |||
| 30ed739b05 | |||
| 7dc9ed014f | |||
| f0bcef7880 | |||
| 7b58aa625e | |||
| 6caab6f95d | |||
| b63f091e63 | |||
| 99c05100c3 | |||
| 037937df0c | |||
| ebee66d3cd | |||
| 940e52cdee | |||
| 2c0f849383 | |||
| 3cd741971c | |||
| 710a522789 | |||
| c19931fd32 | |||
| a567404ef3 | |||
| b46a6df7e0 | |||
| d02b61bcd0 | |||
| 68c4448d79 | |||
| 56c6431ead | |||
| 903d7d07fe | |||
| dd7a3dc865 | |||
| f99ce06d89 | |||
| 4afa2cf8e7 | |||
| b3eb91762f | |||
| 3b7fb633e3 | |||
| 9c342d1c3b | |||
| 7ce269b419 | |||
| 41932e2203 | |||
| 686efecce1 | |||
| 706d5aae54 | |||
| fe981f6d95 | |||
| 12b02cc6d4 | |||
| 5ba19d6cc0 | |||
| 2557d92691 | |||
| 883a52313e | |||
| c5e7b759a9 | |||
| 52c4541d3c | |||
| b2ff6058c5 | |||
| 03849955cb | |||
| 274f6a3c5c | |||
| 52eff1e6fc | |||
| 6aa891acbd | |||
| 793341573b | |||
| f86e6a77c2 | |||
| a3d705ce41 | |||
| 88ec04a494 | |||
| 09966964f9 | |||
| ff8218425d | |||
| 981fb085e0 | |||
| b2bca23456 | |||
| 87b59a1da7 | |||
| d9349cb736 | |||
| 50f7335833 | |||
| fdca1d32ba | |||
| d5753766d0 | |||
| 73597cc2aa | |||
| da9648caf9 | |||
| 4a75a928dd | |||
| bcd04c0da9 | |||
| dcfb3c78a9 | |||
| 31672087ba | |||
| e99e60574c | |||
| 606884068b | |||
| fbe0e88c6e | |||
| 3599f0ee79 | |||
| 1f2c525a12 | |||
| 393ae3a513 | |||
| 9487eb94e8 | |||
| cd95ba6c9d | |||
| 3cee144274 | |||
| 38b59960a5 | |||
| 300983792e | |||
| 225bd32517 | |||
| e3c1848c21 | |||
| 31a4aff34d | |||
| d807092768 | |||
| 66dc9b7a74 | |||
| dd3a379110 | |||
| a5442b9f17 | |||
| cf7963a633 | |||
| 6a94b5e45e | |||
| a1b8525362 | |||
| f9331344dc | |||
| 4c48c0cb96 | |||
| b452db7d9b | |||
| 4bf336df20 | |||
| 586d9faa90 | |||
| 6aa76be6e2 | |||
| b9a88c3c5a | |||
| e9c527f0e1 | |||
| 52eeafa667 | |||
| 24777651dd | |||
| cfaec4f635 | |||
| 5cbee48d14 | |||
| b355e57023 | |||
| 848188accb | |||
| cf65cd27e1 | |||
| da7d6735d7 | |||
| 964cd27fb0 | |||
| 8b2535c230 | |||
| 1c274ab986 | |||
| 698f4dcdc2 | |||
| e87fc85500 | |||
| a33d014a39 | |||
| 14a9ca5943 | |||
| 813149945b | |||
| 9e03a2e642 | |||
| e25cbe6692 | |||
| 79825ad6eb | |||
| bd939d97ae | |||
| 9adaed95da | |||
| 79a925bfc2 | |||
| b9f1d127b8 | |||
| 13e3050e34 | |||
| 405d6c050c | |||
| 3a02594f3b | |||
| 30142a9375 | |||
| 841aace374 | |||
| 625204a5ee | |||
| 4be600da12 | |||
| e64f922e75 | |||
| 2a434e84cc | |||
| 22219fc09e | |||
| 70668fce32 | |||
| a737630635 | |||
| 4e6dff9a9c | |||
| 69c42bd93f | |||
| 9d426f4b89 | |||
| 0670b3bde8 | |||
| c75d70cb94 | |||
| c8e489e8f9 | |||
| 4f6ddca942 | |||
| 962095e090 | |||
| 8982a87dc8 | |||
| cb563f89bc | |||
| 2a24288f09 | |||
|
|
8b5a65ea96 | ||
|
|
b21535430c | ||
|
|
84c1703c54 | ||
|
|
514b7646be | ||
|
|
2f667f46c3 | ||
| 6549c61892 | |||
|
|
86c933b107 | ||
|
|
c83e36ffeb | ||
| 938b6332cf | |||
|
|
cb1c76aa2d | ||
|
|
7d74bf3f26 | ||
|
|
99427e1fb9 | ||
| 79679cfd66 | |||
| c746c07a34 | |||
| 957c81602a | |||
| 1c9c59aba7 | |||
| 7681c79ee3 | |||
| 409c04e439 | |||
| 8b79feca47 | |||
| bb2aa31e71 | |||
| 05692fe9c7 | |||
| 885664158f | |||
| 1834884424 | |||
| 8839082066 | |||
| c00f009240 | |||
| a47a346ddc | |||
| 8f77b206c2 | |||
| f0d8bd01a7 | |||
| 5ca4b2e3d4 | |||
| 8f1dc01ea3 | |||
|
|
9340d3958a | ||
|
|
fffa210854 | ||
|
|
fc4695b91d | ||
|
|
55d8ab8852 | ||
|
|
1d74636a4e | ||
|
|
02072b4db1 | ||
| 3d8c40d065 | |||
| 936f69227c | |||
| 8a13c60b22 | |||
| 40205412df | |||
| de235936b7 | |||
| 64921dce2f | |||
| 783975db70 | |||
| 50a29b7edd | |||
| b9b72beff2 | |||
| a5878789b4 | |||
| 9fcc23499a | |||
| 0c4aa48623 | |||
| 3619f2f310 | |||
| 1a3d894f03 | |||
| 4c46ecd693 | |||
| e12acb690e | |||
|
f9674a74b9
|
|||
|
0c957a170a
|
92
README.md
@@ -1,58 +1,58 @@
|
|||||||
# Info for our new Internet / Social network
|
<h1> TFGrid Docs</h1>
|
||||||
|
|
||||||
> [https://info.ourworld.tf/duniayetu](https://info.ourworld.tf/duniayetu)
|
<h2>Table of Contents</h2>
|
||||||
|
|
||||||
## First install hero:
|
- [Overview](#overview)
|
||||||
|
- [Basic Hero mdBook Commands](#basic-hero-mdbook-commands)
|
||||||
|
- [Install and Use Hero](#install-and-use-hero)
|
||||||
|
- [Create a New mdBook](#create-a-new-mdbook)
|
||||||
|
- [Contribute](#contribute)
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
This repository contains TFGrid docs in the form of mdbooks generated with the [Hero](https://github.com/freeflowuniverse/crystallib/tree/development/cli/hero) tool.
|
||||||
|
|
||||||
|
To see the whole list of books, check the [heroscript directory](https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript).
|
||||||
|
|
||||||
|
## Basic Hero mdBook Commands
|
||||||
|
|
||||||
|
Once Hero is set on your machine, you can run the following commands to preview mdbooks on your local browser:
|
||||||
|
|
||||||
|
- Pull new changes
|
||||||
|
```
|
||||||
|
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/nameofyourbook -gp
|
||||||
|
```
|
||||||
|
|
||||||
|
- Build the book
|
||||||
|
```
|
||||||
|
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/nameofyourbook
|
||||||
|
```
|
||||||
|
- Preview on a web browser
|
||||||
|
```
|
||||||
|
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/nameofyourbook -o
|
||||||
|
```
|
||||||
|
|
||||||
|
> Note: You can use -p instead of -u and set a path to your heroscript directory, as explained in the [docs](https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/docs).
|
||||||
|
|
||||||
|
## Install and Use Hero
|
||||||
|
|
||||||
|
install hero as follows
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Download the hero installer script
|
curl https://raw.githubusercontent.com/freeflowuniverse/crystallib/development/scripts/installer_hero.sh | bash /tmp/hero_install.sh
|
||||||
curl https://raw.githubusercontent.com/freeflowuniverse/crystallib/development/scripts/installer_hero.sh > /tmp/hero_install.sh
|
|
||||||
# Run the script as root to properly complete the script (e.g. sudo bash ...)
|
|
||||||
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
|
|
||||||
```
|
```
|
||||||
|
|
||||||
There is also a [quick guide](./docs/hero_mdbook_fullvm.md) and a [script](./docs/hero_mdbook_fullvm_script.md) on setting mdbook and hero on a full VM running on the TFGrid. Read the [docs](./docs) for more information.
|
you can also do it on a VM (experts only)
|
||||||
|
|
||||||
## to run the book
|
To install and use Hero on a full VM running on the grid, read the [full VM guide](https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/docs/hero_mdbook_fullvm.md).
|
||||||
|
|
||||||
|
## Create a New mdBook
|
||||||
|
|
||||||
```bash
|
To create a new mdbook, read the [mdbook creation guide](https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/docs/hero_create_mdbook.md).
|
||||||
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/tfgrid
|
|
||||||
|
|
||||||
# In case you want to open the generated book and edit
|
## Contribute
|
||||||
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/tfgrid -e
|
|
||||||
```
|
|
||||||
|
|
||||||
|
To contribute to this repository, make a pull request of your changes.
|
||||||
|
|
||||||
## troubleshoot
|
1. Fork the repository and make a pull requests with your changes
|
||||||
|
2. If you have access, create a new branch in this repo and make a pull request with your changes
|
||||||
### for Ubuntu, ...
|
|
||||||
|
|
||||||
```bash
|
|
||||||
apt update
|
|
||||||
apt install curl -y
|
|
||||||
```
|
|
||||||
|
|
||||||
### for OSX
|
|
||||||
|
|
||||||
if you see the following, it means you have an outdated brew on your laptop
|
|
||||||
|
|
||||||
```bash
|
|
||||||
## stderr:
|
|
||||||
Error: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)!
|
|
||||||
```
|
|
||||||
|
|
||||||
to fix:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
#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)"
|
|
||||||
```
|
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 280 KiB After Width: | Height: | Size: 280 KiB |
|
Before Width: | Height: | Size: 708 KiB After Width: | Height: | Size: 708 KiB |
|
Before Width: | Height: | Size: 310 KiB After Width: | Height: | Size: 310 KiB |
|
Before Width: | Height: | Size: 216 KiB After Width: | Height: | Size: 216 KiB |
|
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 635 KiB After Width: | Height: | Size: 635 KiB |
|
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 364 KiB After Width: | Height: | Size: 364 KiB |
|
Before Width: | Height: | Size: 175 KiB After Width: | Height: | Size: 175 KiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 278 KiB After Width: | Height: | Size: 278 KiB |
|
Before Width: | Height: | Size: 312 KiB After Width: | Height: | Size: 312 KiB |
|
Before Width: | Height: | Size: 520 KiB After Width: | Height: | Size: 520 KiB |
|
Before Width: | Height: | Size: 278 KiB After Width: | Height: | Size: 278 KiB |
|
Before Width: | Height: | Size: 452 KiB After Width: | Height: | Size: 452 KiB |
|
Before Width: | Height: | Size: 279 KiB After Width: | Height: | Size: 279 KiB |
|
Before Width: | Height: | Size: 316 KiB After Width: | Height: | Size: 316 KiB |
|
Before Width: | Height: | Size: 190 KiB After Width: | Height: | Size: 190 KiB |
|
Before Width: | Height: | Size: 229 KiB After Width: | Height: | Size: 229 KiB |
|
Before Width: | Height: | Size: 378 KiB After Width: | Height: | Size: 378 KiB |
|
Before Width: | Height: | Size: 746 KiB After Width: | Height: | Size: 746 KiB |
|
Before Width: | Height: | Size: 1022 KiB After Width: | Height: | Size: 1022 KiB |
|
Before Width: | Height: | Size: 268 KiB After Width: | Height: | Size: 268 KiB |
|
Before Width: | Height: | Size: 300 KiB After Width: | Height: | Size: 300 KiB |
|
Before Width: | Height: | Size: 208 KiB After Width: | Height: | Size: 208 KiB |
|
Before Width: | Height: | Size: 140 KiB After Width: | Height: | Size: 140 KiB |
|
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 144 KiB |
|
Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 136 KiB |
|
Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 136 KiB |
|
Before Width: | Height: | Size: 141 KiB After Width: | Height: | Size: 141 KiB |
|
Before Width: | Height: | Size: 370 KiB After Width: | Height: | Size: 370 KiB |
|
Before Width: | Height: | Size: 297 KiB After Width: | Height: | Size: 297 KiB |
|
Before Width: | Height: | Size: 337 KiB After Width: | Height: | Size: 337 KiB |
|
Before Width: | Height: | Size: 239 KiB After Width: | Height: | Size: 239 KiB |
|
Before Width: | Height: | Size: 283 KiB After Width: | Height: | Size: 283 KiB |
|
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 207 KiB |
|
Before Width: | Height: | Size: 312 KiB After Width: | Height: | Size: 312 KiB |
|
Before Width: | Height: | Size: 168 KiB After Width: | Height: | Size: 168 KiB |
|
Before Width: | Height: | Size: 181 KiB After Width: | Height: | Size: 181 KiB |
|
Before Width: | Height: | Size: 794 KiB After Width: | Height: | Size: 794 KiB |