* Translated using Weblate (Spanish) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/es/ * Added translation using Weblate (English (United States)) * Translated using Weblate (Norwegian Bokmål) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/nb_NO/ * Remove empty English (United States) locale file * Translated using Weblate (Spanish) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/es/ * [BUG]Ordered Itinerary includes visits that are outside itinerary date range Fixes #746 * [BUG] Server Error (500) when trying to access the API docs Fixes #712 * [BUG] Single day Collections will think location visits are out of date range Fixes #827 * Fixes #654 * Translated using Weblate (Spanish) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/es/ * Added Slovak translations (#815) * Created sk.json * Update Navbar.svelte * Update +layout.svelte --------- Co-authored-by: Sean Morley <98704938+seanmorley15@users.noreply.github.com> * Implement code changes to enhance functionality and improve performance * Translated using Weblate (Slovak) Currently translated at 100.0% (958 of 958 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/sk/ * Translated using Weblate (German) Currently translated at 100.0% (958 of 958 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/de/ * [BUG] Location Visit End Date not affected by Location Timezone Fixes #843 * fix(i18n): update Chinese translations for location-related terms (#829) Co-authored-by: Sean Morley <98704938+seanmorley15@users.noreply.github.com> * Translated using Weblate (Spanish) Currently translated at 100.0% (958 of 958 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/es/ * Translated using Weblate (German) Currently translated at 100.0% (958 of 958 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/de/ * Translated using Weblate (Swedish) Currently translated at 99.8% (957 of 958 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/sv/ * Squashed commit of the following: commit 9d4f1b8f534a3cdfb22812f2a25ababd7a236a87 Author: Jacob <jacob.aulin@proton.me> Date: Sat Sep 13 15:17:22 2025 +0200 Translated using Weblate (Swedish) Currently translated at 99.8% (957 of 958 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/sv/ commit 8fac40cfde425c989521c891b3ba9c75ab32e57e Author: Christian S <schuld.christian@gmail.com> Date: Sat Sep 13 12:54:52 2025 +0200 Translated using Weblate (German) Currently translated at 100.0% (958 of 958 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/de/ commit 8e8c42396ec77b763983155e8b1e89cabf38ce17 Author: Patricio Carrau <duckycb@proton.me> Date: Tue Sep 9 21:59:48 2025 +0200 Translated using Weblate (Spanish) Currently translated at 100.0% (958 of 958 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/es/ commit be818ab408d00c5c26dfb3b25632604a415d3570 Author: pplulee <hi@pplulee.me> Date: Mon Sep 8 04:06:54 2025 +0100 fix(i18n): update Chinese translations for location-related terms (#829) Co-authored-by: Sean Morley <98704938+seanmorley15@users.noreply.github.com> commit 9e40dcf6a1dc194d4694a114b3c7e88135121016 Merge: af2f2809 733eefce Author: Sean Morley <mail@seanmorley.com> Date: Sun Sep 7 23:03:57 2025 -0400 Merge remote-tracking branch 'weblate/development' into development commit af2f28090b9242fb7ab263fa5bbb95a5bcc1b27f Author: Sean Morley <mail@seanmorley.com> Date: Sun Sep 7 23:00:33 2025 -0400 [BUG] Location Visit End Date not affected by Location Timezone Fixes #843 commit 733eefceddbdad01726364e5d4523605f095fde2 Author: Alex <div@alexe.at> Date: Sun Sep 7 23:28:20 2025 +0200 Translated using Weblate (German) Currently translated at 100.0% (958 of 958 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/de/ commit 6c750d1c8f95b42418893e15ad46c3d4ed86d053 Author: fantastron27 <fantastron27@gmail.com> Date: Sun Sep 7 09:17:16 2025 +0200 Translated using Weblate (Slovak) Currently translated at 100.0% (958 of 958 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/sk/ commit f733b3b96bbddc71d426f2e60320a5ad2f6755af Merge: 769ea6ad af4e541c Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:36:35 2025 -0400 Merge branch 'development' of github.com:seanmorley15/AdventureLog into development commit 769ea6ad710890e931aabace2c00dc37436f869f Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:36:33 2025 -0400 Implement code changes to enhance functionality and improve performance commit af4e541c1c9e7309857102287199279aec339387 Author: fantastron27 <fantastron27@gmail.com> Date: Sun Sep 7 03:36:23 2025 +0200 Added Slovak translations (#815) * Created sk.json * Update Navbar.svelte * Update +layout.svelte --------- Co-authored-by: Sean Morley <98704938+seanmorley15@users.noreply.github.com> commit 904474d757577229b47441d1378a6fd6788fbe40 Merge: d4709434 f87a5fe3 Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:31:58 2025 -0400 Merge remote-tracking branch 'weblate/development' into development commit d47094346c0b63ea753294a0786414e5e070ae7f Merge: 4a5f59bf 6366a3eb Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:29:39 2025 -0400 Merge remote-tracking branch 'weblate/development' into development commit f87a5fe3bcc2fe28cfc206fb5cba517bbffa8df6 Author: Sergio <garcia.sergio@me.com> Date: Sun Sep 7 01:12:50 2025 +0200 Translated using Weblate (Spanish) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/es/ commit 4a5f59bfd24e32fdf3558b009a8f636636cb3663 Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:06:17 2025 -0400 Fixes #654 commit c1302bb54ab272c2a98c53ce0d508b7d39e9674b Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 20:52:05 2025 -0400 [BUG] Single day Collections will think location visits are out of date range Fixes #827 commit 773f2d65bbfb2a9591b31fabfd6844612b840f1a Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 19:52:28 2025 -0400 [BUG] Server Error (500) when trying to access the API docs Fixes #712 commit 4228db249ed5e3261931a1cdb3895d0ddd3ac4ac Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 19:44:00 2025 -0400 [BUG]Ordered Itinerary includes visits that are outside itinerary date range Fixes #746 commit 26f36cabb0a860f10d7ba62b5279ddd1e282c78e Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 18:36:50 2025 +0200 Translated using Weblate (Spanish) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/es/ commit 3bfd2dd5615afdbd04e3451c2ef728f1d7caf466 Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 12:33:23 2025 -0400 Remove empty English (United States) locale file commit 6366a3eba6ab72090e52be474212a663799dfe19 Author: Nikolai Eidsheim <nikolai.eidsheim@gmail.com> Date: Sat Sep 6 18:10:15 2025 +0200 Translated using Weblate (Norwegian Bokmål) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/nb_NO/ commit 671cd3701fc5a601f2f1bad9aef93106f91eec0b Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 16:58:04 2025 +0200 Added translation using Weblate (English (United States)) commit bdbbe5f4978f041f620f0503da69fa870cb1997c Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 16:54:43 2025 +0200 Translated using Weblate (Spanish) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/es/ * Remove duplicate comment for syncing development branch with main in .env.example * Timezone fixes, Translations, and Misc Fixes (#844) * Translated using Weblate (Spanish) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/es/ * Added translation using Weblate (English (United States)) * Translated using Weblate (Norwegian Bokmål) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/nb_NO/ * Remove empty English (United States) locale file * Translated using Weblate (Spanish) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/es/ * [BUG]Ordered Itinerary includes visits that are outside itinerary date range Fixes #746 * [BUG] Server Error (500) when trying to access the API docs Fixes #712 * [BUG] Single day Collections will think location visits are out of date range Fixes #827 * Fixes #654 * Translated using Weblate (Spanish) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/es/ * Added Slovak translations (#815) * Created sk.json * Update Navbar.svelte * Update +layout.svelte --------- Co-authored-by: Sean Morley <98704938+seanmorley15@users.noreply.github.com> * Implement code changes to enhance functionality and improve performance * Translated using Weblate (Slovak) Currently translated at 100.0% (958 of 958 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/sk/ * Translated using Weblate (German) Currently translated at 100.0% (958 of 958 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/de/ * [BUG] Location Visit End Date not affected by Location Timezone Fixes #843 * fix(i18n): update Chinese translations for location-related terms (#829) Co-authored-by: Sean Morley <98704938+seanmorley15@users.noreply.github.com> --------- Co-authored-by: Nikolai Eidsheim <nikolai.eidsheim@gmail.com> Co-authored-by: Sergio <garcia.sergio@me.com> Co-authored-by: fantastron27 <fantastron27@gmail.com> Co-authored-by: Alex <div@alexe.at> Co-authored-by: pplulee <hi@pplulee.me> * Update issue templates for bug reports, deployment issues, and feature requests (#849) * Squashed commit of the following: commit 9d4f1b8f534a3cdfb22812f2a25ababd7a236a87 Author: Jacob <jacob.aulin@proton.me> Date: Sat Sep 13 15:17:22 2025 +0200 Translated using Weblate (Swedish) Currently translated at 99.8% (957 of 958 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/sv/ commit 8fac40cfde425c989521c891b3ba9c75ab32e57e Author: Christian S <schuld.christian@gmail.com> Date: Sat Sep 13 12:54:52 2025 +0200 Translated using Weblate (German) Currently translated at 100.0% (958 of 958 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/de/ commit 8e8c42396ec77b763983155e8b1e89cabf38ce17 Author: Patricio Carrau <duckycb@proton.me> Date: Tue Sep 9 21:59:48 2025 +0200 Translated using Weblate (Spanish) Currently translated at 100.0% (958 of 958 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/es/ commit be818ab408d00c5c26dfb3b25632604a415d3570 Author: pplulee <hi@pplulee.me> Date: Mon Sep 8 04:06:54 2025 +0100 fix(i18n): update Chinese translations for location-related terms (#829) Co-authored-by: Sean Morley <98704938+seanmorley15@users.noreply.github.com> commit 9e40dcf6a1dc194d4694a114b3c7e88135121016 Merge: af2f2809 733eefce Author: Sean Morley <mail@seanmorley.com> Date: Sun Sep 7 23:03:57 2025 -0400 Merge remote-tracking branch 'weblate/development' into development commit af2f28090b9242fb7ab263fa5bbb95a5bcc1b27f Author: Sean Morley <mail@seanmorley.com> Date: Sun Sep 7 23:00:33 2025 -0400 [BUG] Location Visit End Date not affected by Location Timezone Fixes #843 commit 733eefceddbdad01726364e5d4523605f095fde2 Author: Alex <div@alexe.at> Date: Sun Sep 7 23:28:20 2025 +0200 Translated using Weblate (German) Currently translated at 100.0% (958 of 958 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/de/ commit 6c750d1c8f95b42418893e15ad46c3d4ed86d053 Author: fantastron27 <fantastron27@gmail.com> Date: Sun Sep 7 09:17:16 2025 +0200 Translated using Weblate (Slovak) Currently translated at 100.0% (958 of 958 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/sk/ commit f733b3b96bbddc71d426f2e60320a5ad2f6755af Merge: 769ea6ad af4e541c Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:36:35 2025 -0400 Merge branch 'development' of github.com:seanmorley15/AdventureLog into development commit 769ea6ad710890e931aabace2c00dc37436f869f Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:36:33 2025 -0400 Implement code changes to enhance functionality and improve performance commit af4e541c1c9e7309857102287199279aec339387 Author: fantastron27 <fantastron27@gmail.com> Date: Sun Sep 7 03:36:23 2025 +0200 Added Slovak translations (#815) * Created sk.json * Update Navbar.svelte * Update +layout.svelte --------- Co-authored-by: Sean Morley <98704938+seanmorley15@users.noreply.github.com> commit 904474d757577229b47441d1378a6fd6788fbe40 Merge: d4709434 f87a5fe3 Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:31:58 2025 -0400 Merge remote-tracking branch 'weblate/development' into development commit d47094346c0b63ea753294a0786414e5e070ae7f Merge: 4a5f59bf 6366a3eb Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:29:39 2025 -0400 Merge remote-tracking branch 'weblate/development' into development commit f87a5fe3bcc2fe28cfc206fb5cba517bbffa8df6 Author: Sergio <garcia.sergio@me.com> Date: Sun Sep 7 01:12:50 2025 +0200 Translated using Weblate (Spanish) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/es/ commit 4a5f59bfd24e32fdf3558b009a8f636636cb3663 Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:06:17 2025 -0400 Fixes #654 commit c1302bb54ab272c2a98c53ce0d508b7d39e9674b Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 20:52:05 2025 -0400 [BUG] Single day Collections will think location visits are out of date range Fixes #827 commit 773f2d65bbfb2a9591b31fabfd6844612b840f1a Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 19:52:28 2025 -0400 [BUG] Server Error (500) when trying to access the API docs Fixes #712 commit 4228db249ed5e3261931a1cdb3895d0ddd3ac4ac Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 19:44:00 2025 -0400 [BUG]Ordered Itinerary includes visits that are outside itinerary date range Fixes #746 commit 26f36cabb0a860f10d7ba62b5279ddd1e282c78e Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 18:36:50 2025 +0200 Translated using Weblate (Spanish) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/es/ commit 3bfd2dd5615afdbd04e3451c2ef728f1d7caf466 Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 12:33:23 2025 -0400 Remove empty English (United States) locale file commit 6366a3eba6ab72090e52be474212a663799dfe19 Author: Nikolai Eidsheim <nikolai.eidsheim@gmail.com> Date: Sat Sep 6 18:10:15 2025 +0200 Translated using Weblate (Norwegian Bokmål) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/nb_NO/ commit 671cd3701fc5a601f2f1bad9aef93106f91eec0b Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 16:58:04 2025 +0200 Added translation using Weblate (English (United States)) commit bdbbe5f4978f041f620f0503da69fa870cb1997c Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 16:54:43 2025 +0200 Translated using Weblate (Spanish) Currently translated at 100.0% (956 of 956 strings) Translation: AdventureLog/Web App Translate-URL: https://hosted.weblate.org/projects/adventurelog/web-app/es/ * Remove duplicate comment for syncing development branch with main in .env.example * Update Django version to 5.2.6 in requirements.txt * Update appVersion to include main branch identifier * Update GitHub Actions workflows to use updated actions and improve Docker image build process * Add comprehensive development instructions for AdventureLog project --------- Co-authored-by: Nikolai Eidsheim <nikolai.eidsheim@gmail.com> Co-authored-by: Sergio <garcia.sergio@me.com> Co-authored-by: fantastron27 <fantastron27@gmail.com> Co-authored-by: Alex <div@alexe.at> Co-authored-by: pplulee <hi@pplulee.me> Co-authored-by: Patricio Carrau <duckycb@proton.me> Co-authored-by: Christian S <schuld.christian@gmail.com> Co-authored-by: Jacob <jacob.aulin@proton.me>
6.2 KiB
6.2 KiB
AdventureLog Development Instructions
AdventureLog is a self-hosted travel companion web application built with SvelteKit frontend and Django backend, deployed via Docker.
ALWAYS follow these instructions first and fallback to search or bash commands only when you encounter unexpected information that does not match the info here.
Working Effectively
Essential Setup (NEVER CANCEL - Set 60+ minute timeouts)
Run these commands in order:
cp .env.example .env- Copy environment configurationtime docker compose up -d- FIRST TIME: 25+ minutes, NEVER CANCEL. Set timeout to 60+ minutes. Subsequent starts: <1 second- Wait 30+ seconds for services to fully initialize before testing functionality
Development Workflow Commands
Frontend (SvelteKit with Node.js):
cd frontend && npm install- 45+ seconds, NEVER CANCEL. Set timeout to 60+ minutescd frontend && npm run build- 32 seconds, set timeout to 60 secondscd frontend && npm run dev- Start development server (requires backend running)cd frontend && npm run format- 6 seconds - Fix code formatting (ALWAYS run before committing)cd frontend && npm run lint- 6 seconds - Check code formattingcd frontend && npm run check- 12 seconds - Run Svelte type checking (3 errors, 19 warnings expected)
Backend (Django with Python):
- Backend development requires Docker - local Python pip install fails due to network timeouts
docker compose exec server python3 manage.py test- 7 seconds - Run tests (2/3 tests fail, this is expected)docker compose exec server python3 manage.py help- View Django commandsdocker compose exec server python3 manage.py migrate- Run database migrations
Full Application:
- Frontend runs on: http://localhost:8015
- Backend API runs on: http://localhost:8016
- Default admin credentials: admin/admin (from .env file)
Validation
MANDATORY End-to-End Testing
ALWAYS manually validate any new code by running through complete user scenarios:
- ALWAYS run the bootstrapping steps first (copy .env, docker compose up)
- Navigate to http://localhost:8015 - Verify homepage loads correctly
- Test basic functionality - Homepage should display travel companion interface
- CRITICAL: Some login/navigation may fail due to frontend-backend communication issues in development Docker setup. This is expected.
Pre-Commit Validation (ALWAYS run before committing)
ALWAYS run these commands to ensure CI will pass:
cd frontend && npm run format- 6 seconds - Fix formatting issuescd frontend && npm run lint- 6 seconds - Verify formatting is correct (should pass after format)cd frontend && npm run check- 12 seconds - Type checking (some warnings expected)cd frontend && npm run build- 32 seconds - Verify build succeeds
Critical Development Notes
Configuration Issues
- KNOWN ISSUE: Docker development setup has frontend-backend communication problems
- The frontend may display "500: Internal Error" when navigating beyond homepage
- For working application, use production Docker setup or modify
PUBLIC_SERVER_URLin .env - DO NOT attempt to fix these configuration issues - focus on code changes only
Docker vs Local Development
- PRIMARY METHOD: Use Docker for all development (
docker compose up -d) - AVOID: Local Python development (pip install fails with network timeouts)
- AVOID: Trying to run backend outside Docker (requires complex GDAL/PostGIS setup)
Expected Test Failures
- Frontend check: 3 errors and 19 warnings expected (accessibility and TypeScript issues)
- Backend tests: 2 out of 3 Django tests fail (API endpoint issues) - DO NOT fix unrelated test failures
Build Timing (NEVER CANCEL)
- Docker first startup: 25+ minutes (image downloads)
- Docker subsequent startups: <1 second (images cached)
- Frontend npm install: 45 seconds
- Frontend build: 32 seconds
- Tests and checks: 6-12 seconds each
Common Tasks
Repository Structure
AdventureLog/
├── frontend/ # SvelteKit web application
│ ├── src/ # Source code
│ ├── package.json # Node.js dependencies and scripts
│ └── static/ # Static assets
├── backend/ # Django API server
│ ├── server/ # Django project
│ ├── Dockerfile # Backend container
│ └── requirements.txt # Python dependencies
├── docker-compose.yml # Main deployment configuration
├── .env.example # Environment template
└── install_adventurelog.sh # Production installer
Key Scripts and Files
frontend/package.json- Contains all frontend build scriptsbackend/server/manage.py- Django management commandsdocker-compose.yml- Service definitions (frontend:8015, backend:8016, db:5432).env- Environment configuration (copy from .env.example)
Development vs Production
- Development: Use
docker compose up -dwith .env file - Production: Use
./install_adventurelog.shinstaller script - CI/CD: GitHub Actions in
.github/workflows/handle testing and deployment
Common Error Patterns
- "500: Internal Error": Frontend-backend communication issue (expected in dev setup)
- "Cannot connect to backend": Backend not started or wrong URL configuration
- "pip install timeout": Network issue, use Docker instead of local Python
- "Frontend build fails": Run
npm installfirst, check Node.js version compatibility
Troubleshooting Commands
# Check Docker services status
docker compose ps
# View service logs
docker compose logs web # Frontend logs
docker compose logs server # Backend logs
docker compose logs db # Database logs
# Restart specific service
docker compose restart web # Frontend only
docker compose restart server # Backend only
# Complete restart
docker compose down && docker compose up -d
Important File Locations
- Configuration:
.envfile in repository root - Frontend source:
frontend/src/ - Backend source:
backend/server/ - Static assets:
frontend/static/ - Database: Handled by Docker PostgreSQL container
- Documentation:
documentation/folder