- Install Python 3.
- Check that pip is using python3 with
pip -V
.
- Set up a virtual environment (steps assume that your current dir is project root)
- Install virtualenv with
pip install virtualenv
* else pip3 install virtualenv
- run
python -m venv venv
* else python3 -m venv venv
- source the virtual environment
* Linux:
source venv/bin/activate
* Windows: .\venv\Scripts\activate.bat
- Install plugins with
pip install -r requirements.txt
(if pip is using python3)
- else
pip3 install -r requirements.txt
- Start local server with
mkdocs serve