home: add minerva dashboard scaffold
This commit is contained in:
12
home/minerva-dashboard/bin/run-local.sh
Executable file
12
home/minerva-dashboard/bin/run-local.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
if [ ! -d .venv ]; then
|
||||
python3 -m venv .venv
|
||||
fi
|
||||
|
||||
. .venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
exec uvicorn app.main:app --reload --host 0.0.0.0 --port 8094
|
||||
Reference in New Issue
Block a user