Skip to content

Commit

Permalink
Merge pull request #40 from mbheinen/run-site-locally-notes
Browse files Browse the repository at this point in the history
Adds notes to README.md explaining how to run site locally
  • Loading branch information
admin-cimug authored Oct 31, 2023
2 parents f9f92cf + 3664d02 commit 0f33b94
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,20 @@
UCAIug CIM Modeling Guide, © 2019 - 2023. All rights reserved by the UCA International CIM Users Group

This repository hosts the publically available **CIM Modeling Guide** made available by the UCA International CIM Users Group. This official guide is managed and maintained by the CIM Model Management Team and can be viewed online [here](https://cim-mg.ucaiug.io/).

## Contributing
CIM Modeling Guide is documented using [Material for MkDocs](https://squidfunk.github.io/mkdocs-material). If you need to do work on the CIM Modeling Guide you can do so by editing the files directly in the `docs` folder of this repo.

To serve the guide locally as a live-reloading web page, use [Docker](https://www.docker.com/) or [Python](https://www.python.org/).

For Docker, do `docker pull squidfunk/mkdocs-material` then `mkdocs serve` is default command so you can just do the following from repo root to start the site:

docker run --rm -it -p 127.0.0.1:8000:8000/tcp -v %CD%:/docs squidfunk/mkdocs-material

For Python, do `pip install mkdocs-material` then once installed, the basic commands are:

* `mkdocs serve` - Start the live-reloading docs server.
* `mkdocs build` - Build the documentation site (for deployment).
* `mkdocs -h` - Print help message and exit.

Once you have it running with either Docker or Python, you can view it by navigating to http://localhost:8000 on your browser.

0 comments on commit 0f33b94

Please sign in to comment.