website/bin/localdev.sh
Andrei Jiroh Halili 81902a0b3c fix(scripts): 🔨 patch scripts for environment detection stuff [skip ci]
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
2023-05-05 08:55:24 +00:00

8 lines
No EOL
251 B
Bash
Executable file

#!/usr/bin/env bash
if [ ! -f "$PWD/.venv/bin/mkdocs" ] || [ $FF_DEPS_REFRESH != "true" ]; then
"$PWD/.venv/bin/pip3" install -r requirements.txt
fi
# enable embeding commit info in previews
FF_ENABLE_COMMIT_DATA=true "$PWD/.venv/bin/mkdocs" serve