feat: enhance revision logic with fuzzy matching, dynamic material loading, and schema automation
- Improved RevisionComparator with fuzzy matching (RapidFuzz) and dynamic DB material loading - Enhanced regex patterns for better size/material extraction - Initialized Alembic for schema migrations and created baseline migration - Added entrypoint.sh for automated migrations in Docker - Fixed SyntaxError in fitting_classifier.py - Updated test suite with new functionality tests
This commit is contained in:
13
backend/entrypoint.sh
Executable file
13
backend/entrypoint.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Wait for DB to be ready (optional, but good practice if not handled by docker-compose)
|
||||
# /wait-for-it.sh db:5432 --
|
||||
|
||||
# Run migrations
|
||||
echo "Running database migrations..."
|
||||
alembic upgrade head
|
||||
|
||||
# Start application
|
||||
echo "Starting application..."
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user