Sends doula coverage claims via Telnyx fax API every hour, logs every attempt, and generates a printable HTML report for HR. Includes both a Linux CLI with cron scheduling and a Windows GUI (tkinter) that can be packaged as a portable exe via PyInstaller. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
19 lines
379 B
Bash
Executable file
19 lines
379 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
echo "=== Building AutoFax Executable ==="
|
|
|
|
# Create/use venv
|
|
if [ ! -d "venv" ]; then
|
|
python3 -m venv venv
|
|
fi
|
|
|
|
source venv/bin/activate
|
|
pip install -q pyinstaller requests python-dotenv
|
|
|
|
echo "Building..."
|
|
pyinstaller --onefile --windowed --name AutoFax gui.py
|
|
|
|
echo ""
|
|
echo "=== Build successful! ==="
|
|
echo "Executable: dist/AutoFax"
|