added info for docker hero #157

Merged
mik-tf merged 1 commits from dev_docs into development 2024-10-23 04:03:29 +00:00
Showing only changes of commit 1b7dc1b23c - Show all commits

View File

@ -40,7 +40,7 @@ Note that you will need to adjust the local path of the git repo and the 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
```
@ -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:
```
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
```
@ -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
```
- To remove the container
```
sudo docker rm herodocker
```
## Update the Book