website/bin/localdev.sh
Andrei Jiroh Halili edeb81dc88 chore(docker): 🧑‍💻 add script for local development, as used in npm start [skip ci]
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
2023-04-05 10:39:17 +00:00

7 lines
No EOL
148 B
Bash
Executable file

#!/usr/bin/env bash
if [ ! -f "$PWD/.venv/bin/mkdocs" ]; then
"$PWD/.venv/bin/pip3" install -r requirements.txt
fi
"$PWD/.venv/bin/mkdocs" serve