development #42

Merged
mik-tf merged 2 commits from development into main 2024-04-29 13:35:14 +00:00
Showing only changes of commit e2b2be252e - Show all commits

View File

@ -41,10 +41,16 @@ Note that you will need to adjust the local path of the git repo and the docker
``` ```
git config --global --add safe.directory /root/code/git.ourworld.tf/tfgrid/info_tfgrid git config --global --add safe.directory /root/code/git.ourworld.tf/tfgrid/info_tfgrid
``` ```
- You can now use hero normally, e.g. with **projectinca**: - You can now use Hero normally, e.g. with **projectinca**
``` - With a URL:
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/projectinca -gp ```
``` hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/projectinca
```
- With a path:
```
hero mdbook -p /root/code/git.ourworld.tf/tfgrid/info_tfgrid/heroscript/projectinca
```
- In this case, you can modify the mdbook on the local machine's git repo that you set in the prerequisites section and the changes will be shown on the docker path
- 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/projectinca/ cd ~/hero/var/mdbuild/projectinca/