diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e6ff71a --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +.venv/ +__pycache__/ +*.pyc + +logs/* +exports/* +outputs/* +diagnostics/* +archive/current/* + +inputs/uploads/* +inputs/examples/* +!*/.gitkeep + +.env diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..f675a57 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +fastapi +uvicorn[standard] +python-multipart +python-docx +pendulum diff --git a/scripts/setup-env.sh b/scripts/setup-env.sh new file mode 100755 index 0000000..2ba0b15 --- /dev/null +++ b/scripts/setup-env.sh @@ -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"