diff --git a/README.md b/README.md index b2f76ee..acb4e75 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # PragmaStack -
+
PragmaStack Logo
diff --git a/backend/.dockerignore b/backend/.dockerignore index 4b178df..98ba05d 100644 --- a/backend/.dockerignore +++ b/backend/.dockerignore @@ -1,2 +1,17 @@ .venv -*.iml \ No newline at end of file +*.iml + +# Python build and cache artifacts +__pycache__/ +.pytest_cache/ +.mypy_cache/ +.ruff_cache/ +*.pyc +*.pyo + +# Packaging artifacts +*.egg-info/ +build/ +dist/ +htmlcov/ +.uv_cache/ \ No newline at end of file diff --git a/backend/app/alembic/versions/c8e9f3a2d1b4_add_user_locale_preference_column.py b/backend/app/alembic/versions/c8e9f3a2d1b4_add_user_locale_preference_column.py index c9d94e4..5002c6e 100644 --- a/backend/app/alembic/versions/c8e9f3a2d1b4_add_user_locale_preference_column.py +++ b/backend/app/alembic/versions/c8e9f3a2d1b4_add_user_locale_preference_column.py @@ -1,7 +1,7 @@ """add user locale preference column Revision ID: c8e9f3a2d1b4 -Revises: b76c725fc3cf +Revises: 1174fffbe3e4 Create Date: 2025-11-17 18:00:00.000000 """ @@ -13,7 +13,7 @@ from alembic import op # revision identifiers, used by Alembic. revision: str = "c8e9f3a2d1b4" -down_revision: str | None = "b76c725fc3cf" +down_revision: str | None = "1174fffbe3e4" branch_labels: str | Sequence[str] | None = None depends_on: str | Sequence[str] | None = None diff --git a/backend/entrypoint.sh b/backend/entrypoint.sh old mode 100644 new mode 100755 index ba4d5fe..486127a --- a/backend/entrypoint.sh +++ b/backend/entrypoint.sh @@ -3,10 +3,13 @@ set -e echo "Starting Backend" # Apply database migrations -uv run alembic upgrade head +# Avoid installing the project in editable mode (which tries to write egg-info) +# when running inside a bind-mounted volume with restricted permissions. +# See: https://github.com/astral-sh/uv (use --no-project to skip project build) +uv run --no-project alembic upgrade head # Initialize database (creates first superuser if needed) -uv run python app/init_db.py +uv run --no-project python app/init_db.py # Execute the command passed to docker run exec "$@" \ No newline at end of file