sync - still working on the TUI

This commit is contained in:
2025-09-27 13:24:20 -07:00
parent 72b5cc3aaa
commit ec02b923af
25 changed files with 1091 additions and 367 deletions

View File

@@ -14,25 +14,25 @@ help:
# Installation
install:
pip install .
.venv/bin/pip install .
dev-install:
pip install -e .[dev]
.venv/bin/pip install -r requirements.txt
# Database initialization
init-db:
@echo "Initializing database..."
@mkdir -p data
@cd backend && python -m alembic upgrade head
@.venv/bin/python -m alembic upgrade head
@echo "Database initialized successfully!"
# Run application
run:
python main.py
.venv/bin/python main.py
# Testing
test:
pytest
.venv/bin/pytest
# Cleanup
clean:
@@ -49,8 +49,8 @@ build: clean
# Package as executable (requires PyInstaller)
package:
@echo "Creating standalone executable..."
@pip install pyinstaller
@pyinstaller --onefile --name cycling-coach main.py
@.venv/bin/pip install pyinstaller
@.venv/bin/pyinstaller --onefile --name cycling-coach main.py
@echo "Executable created in dist/cycling-coach"
# Development tools