added info for docker hero
This commit is contained in:
parent
d8aa671119
commit
1b7dc1b23c
@ -40,7 +40,7 @@ Note that you will need to adjust the local path of the git repo and the docker
|
|||||||
```
|
```
|
||||||
- Start Hero docker
|
- Start Hero docker
|
||||||
```
|
```
|
||||||
sudo docker run --net=host --name herodocker -d -v ~/code/git.ourworld.tf/tfgrid:~/code/git.ourworld.tf/tfgrid ghcr.io/scottyeager/hero:latest
|
sudo docker run --net=host --name herodocker -d -v ~/code/git.ourworld.tf/tfgrid:/root/code/git.ourworld.tf/tfgrid ghcr.io/scottyeager/hero:latest
|
||||||
```
|
```
|
||||||
- In our case, the docker path to the repo is the following
|
- In our case, the docker path to the repo is the following
|
||||||
```
|
```
|
||||||
@ -72,7 +72,7 @@ Note that you will need to adjust the local path of the git repo and the docker
|
|||||||
- To view the mdbook on your local browser, run the lines:
|
- To view the mdbook on your local browser, run the lines:
|
||||||
```
|
```
|
||||||
cd ~/hero/var/mdbuild/tech/
|
cd ~/hero/var/mdbuild/tech/
|
||||||
mdbook serve -n 0.0.0.0
|
mdbook serve -n 0.0.0.0 --port 3005
|
||||||
```
|
```
|
||||||
- You should be able to view the rendered book at
|
- You should be able to view the rendered book at
|
||||||
```
|
```
|
||||||
@ -91,6 +91,10 @@ Note that you will need to adjust the local path of the git repo and the docker
|
|||||||
```
|
```
|
||||||
docker pull ghcr.io/scottyeager/hero:latest
|
docker pull ghcr.io/scottyeager/hero:latest
|
||||||
```
|
```
|
||||||
|
- To remove the container
|
||||||
|
```
|
||||||
|
sudo docker rm herodocker
|
||||||
|
```
|
||||||
|
|
||||||
## Update the Book
|
## Update the Book
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user