blob: 1f72accec51cc95ee49f53507cd17c82823fd83f [file] [log] [blame]
#!/bin/bash
set -e
# Go to the directory with this script
cd "$(dirname "$(readlink -f "$0")")"
# Create a Python virtualenv if it does not exist yet
if ! test -d env; then
virtualenv -p python3 env
fi
# Serve the website
source env/bin/activate
pip install -r requirements.txt
mkdocs serve