development #42
@ -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
|
||||
```
|
||||
- You can now use hero normally, e.g. with **projectinca**:
|
||||
```
|
||||
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/projectinca -gp
|
||||
```
|
||||
- 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
|
||||
```
|
||||
- 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:
|
||||
```
|
||||
cd ~/hero/var/mdbuild/projectinca/
|
||||
|
Loading…
Reference in New Issue
Block a user