Add reproducible environment setup script

This commit is contained in:
Sean McElwain 2026-06-09 23:43:22 -05:00
parent a7b5e4f641
commit 9c2d7826d8
3 changed files with 33 additions and 0 deletions

15
.gitignore vendored Normal file
View File

@ -0,0 +1,15 @@
.venv/
__pycache__/
*.pyc
logs/*
exports/*
outputs/*
diagnostics/*
archive/current/*
inputs/uploads/*
inputs/examples/*
!*/.gitkeep
.env

5
requirements.txt Normal file
View File

@ -0,0 +1,5 @@
fastapi
uvicorn[standard]
python-multipart
python-docx
pendulum

13
scripts/setup-env.sh Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")/.."
python3 -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
echo "Ready."
echo "Activate with: source .venv/bin/activate"