From 0ff8a8bcfa6bda16f9bdee4f928c118a7c47b5d3 Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Fri, 17 Apr 2026 12:16:15 +0100 Subject: [PATCH] vault backup: 2026-04-17 12:16:15 --- .../Barclays-banner-builder/Barclays Banner Builder.md | 5 +++++ 99 Daily/2026-04-17.md | 3 +++ 2 files changed, 8 insertions(+) diff --git a/01 Projects/Barclays-banner-builder/Barclays Banner Builder.md b/01 Projects/Barclays-banner-builder/Barclays Banner Builder.md index b43e67b..f74ed92 100644 --- a/01 Projects/Barclays-banner-builder/Barclays Banner Builder.md +++ b/01 Projects/Barclays-banner-builder/Barclays Banner Builder.md @@ -23,6 +23,10 @@ created: 2026-04-17 - **Local path:** `/Volumes/SSD/Projects/Oliver/Barclays-banner-builder` ## Sessions +### 2026-04-17 – Create a deployment script for Ubuntu +**Asked:** Create a deployment script for Ubuntu server with Docker containers, database initialization, migrations, and frontend updates. +**Done:** Replaced passlib with direct bcrypt calls across all authentication functions to fix version incompatibility. + ### 2026-04-17 – Create an idempotent deployment script for **Asked:** Create an idempotent deployment script for Ubuntu with Docker containers, database initialization, and migrations. **Done:** Fixed nested sa.Column() syntax error in migration and corrected embedding column types from Text to vector(1536). @@ -75,6 +79,7 @@ created: 2026-04-17 ## Change Log | Date | Requested | Changed | Files | |------|-----------|---------|-------| +| 2026-04-17 | Deployment script & auth fix | Remove passlib dependency, add bcrypt direct calls, create idempotent deploy script | auth.py, requirements.txt, deploy.sh | | 2026-04-17 | Deployment script & migration fixes | Fixed nested Column syntax, changed embedding columns to vector(1536), added idempotent deployment logic | deploy.sh, migrations/alembic_version.py | | 2026-04-17 | Deploy script fix | Corrected pyproject.toml path from root to backend/pyproject.toml, fixed exit code handling in hash calculation | deploy.sh | | 2026-04-17 | Deployment script & build fix | Dockerfile layering order, pyproject.toml build configuration | Dockerfile, pyproject.toml | diff --git a/99 Daily/2026-04-17.md b/99 Daily/2026-04-17.md index 6621559..f25a1d2 100644 --- a/99 Daily/2026-04-17.md +++ b/99 Daily/2026-04-17.md @@ -41,3 +41,6 @@ tags: [daily] - 12:13 | `Barclays-banner-builder` - **Asked:** Create an idempotent deployment script for Ubuntu with Docker containers, database initialization, and migrations. - **Done:** Fixed nested sa.Column() syntax error in migration and corrected embedding column types from Text to vector(1536). +- 12:15 | `Barclays-banner-builder` + - **Asked:** Create a deployment script for Ubuntu server with Docker containers, database initialization, migrations, and frontend updates. + - **Done:** Replaced passlib with direct bcrypt calls across all authentication functions to fix version incompatibility.