new
This commit is contained in:
parent
7dd53d1e32
commit
d8aa671119
@ -5,6 +5,7 @@
|
|||||||
- [Introduction](#introduction)
|
- [Introduction](#introduction)
|
||||||
- [Prerequisites](#prerequisites)
|
- [Prerequisites](#prerequisites)
|
||||||
- [Steps](#steps)
|
- [Steps](#steps)
|
||||||
|
- [Update the Book](#update-the-book)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -89,4 +90,24 @@ Note that you will need to adjust the local path of the git repo and the docker
|
|||||||
- If you need to update the docker Hero image, run the following line:
|
- If you need to update the docker Hero image, run the following line:
|
||||||
```
|
```
|
||||||
docker pull ghcr.io/scottyeager/hero:latest
|
docker pull ghcr.io/scottyeager/hero:latest
|
||||||
|
```
|
||||||
|
|
||||||
|
## Update the Book
|
||||||
|
|
||||||
|
You can use [VSCodium](https://manual.grid.tf/documentation/system_administrators/computer_it_basics/git_github_basics.html#vs-codium) to update files of the Mdbook.
|
||||||
|
|
||||||
|
- Open VSCodium
|
||||||
|
- Open the directory where the repo is located, e.g.
|
||||||
|
```
|
||||||
|
cd ~/code/git.ourworld.tf/tfgrid/info_tfgrid
|
||||||
|
```
|
||||||
|
- Make changes and save the files
|
||||||
|
- Redeploy Hero Mdbook
|
||||||
|
- With a path:
|
||||||
|
```
|
||||||
|
hero mdbook -p /root/code/git.ourworld.tf/tfgrid/info_tfgrid/heroscript/tech
|
||||||
|
```
|
||||||
|
- With a URL (make sure to pull the changes with `git pull`):
|
||||||
|
```
|
||||||
|
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/tech
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user