master
Separate persistent user data from application code (data/work_tracker.db, data/uploads, data/storage) with idempotent legacy migration and SQLite integrity checks. Add offline packaging scripts for a Windows x11 x64 portable ZIP (embeddable Python, Start/Stop/Backup.bat). Fix launcher: no multiline python -c in BAT and no os.dup2 — uvicorn runs detached with wvt.log; health wait and busy-port diagnostics included.
Work Volume Tracker
A simple local web application for tracking completed work volumes in projects.
Features
- Project management
- Excel import for BOQ (Bill of Quantities)
- Work item tracking with systems and sections
- SQLite database storage
Setup
- Create virtual environment:
python -m venv .venv
- Activate virtual environment:
- Linux/macOS:
source .venv/bin/activate
- Windows:
.venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Run the application:
uvicorn app.main:app --reload
- Access the application at http://localhost:8000
Project Structure
app/- Main application directorymain.py- FastAPI application entry pointmodels/- Database modelsrouters/- API routersdatabase/- Database connection and initializationtemplates/- HTML templatesstatic/- Static files (CSS, JS, images)utils/- Utility functionsimporter/- Excel import functionality
Description
Languages
Python
84.7%
HTML
15%
Batchfile
0.3%