mkdocs-template/serve.sh

8 lines
168 B
Bash
Executable File

#!/bin/bash
[ ! -d "./python" ] && python3 -m venv ./python
# shellcheck disable=SC1091
. ./python/bin/activate
pip install -r requirements.txt
mkdocs serve
deactivate