1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-02-12 11:01:52 +00:00
MeshCentral/docs/startdevmkdocsonwindows.ps1

21 lines
656 B
PowerShell
Raw Permalink Normal View History

# This is for running mkdocs locally on windows only.
# Make sure you change directory to your docs folder before starting this process
# Use the "Run Selection" in VSCode to run the code blocks as-needed
#Activate python
2022-05-31 14:46:32 +00:00
cd docs
python -m venv env
.\env\Scripts\activate
#Install requirements first time only
2022-05-31 14:46:32 +00:00
python -m pip install --upgrade pip #only 1st time or use periodically to update pip modules
pip install pytest #only 1st time
pip install mkdocs #only 1st time
pip install mkdocs-material #only 1st time
#Run mkdocs and look at changes as you make them
2022-08-13 19:19:42 +00:00
start-process http://localhost:8010 #Opens Browser
mkdocs serve
2022-05-17 02:34:18 +00:00
#Stop python
deactivate