8 lines
369 B
Bash
8 lines
369 B
Bash
|
|
#!/usr/bin/env bash
|
||
|
|
# Start the BOQ converter locally. Port 8501 (not 3000 - something else uses it).
|
||
|
|
set -e
|
||
|
|
cd "$(dirname "$0")"
|
||
|
|
[ -d .venv ] || python3 -m venv .venv
|
||
|
|
.venv/bin/python -c "import streamlit" 2>/dev/null || .venv/bin/python -m pip install -q streamlit pdfplumber openpyxl
|
||
|
|
exec .venv/bin/streamlit run app.py --server.port 8501 --server.address 127.0.0.1
|