chore(docker): 🧑‍💻 add script for local development, as used in npm start [skip ci]

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2023-04-05 10:39:17 +00:00
parent 349db1f879
commit edeb81dc88

7
bin/localdev.sh Executable file
View file

@ -0,0 +1,7 @@
#!/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