Add reproducible environment setup script
This commit is contained in:
parent
a7b5e4f641
commit
9c2d7826d8
|
|
@ -0,0 +1,15 @@
|
|||
.venv/
|
||||
__pycache__/
|
||||
*.pyc
|
||||
|
||||
logs/*
|
||||
exports/*
|
||||
outputs/*
|
||||
diagnostics/*
|
||||
archive/current/*
|
||||
|
||||
inputs/uploads/*
|
||||
inputs/examples/*
|
||||
!*/.gitkeep
|
||||
|
||||
.env
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
fastapi
|
||||
uvicorn[standard]
|
||||
python-multipart
|
||||
python-docx
|
||||
pendulum
|
||||
|
|
@ -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"
|
||||
Loading…
Reference in New Issue