mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-12-23 22:58:17 -05:00
* 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: commit9d4f1b8f53Author: 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/ commit8fac40cfdeAuthor: 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/ commit8e8c42396eAuthor: 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/ commitbe818ab408Author: 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> commit9e40dcf6a1Merge:af2f2809733eefceAuthor: Sean Morley <mail@seanmorley.com> Date: Sun Sep 7 23:03:57 2025 -0400 Merge remote-tracking branch 'weblate/development' into development commitaf2f28090bAuthor: 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 commit733eefceddAuthor: 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/ commit6c750d1c8fAuthor: 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/ commitf733b3b96bMerge:769ea6adaf4e541cAuthor: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:36:35 2025 -0400 Merge branch 'development' of github.com:seanmorley15/AdventureLog into development commit769ea6ad71Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:36:33 2025 -0400 Implement code changes to enhance functionality and improve performance commitaf4e541c1cAuthor: 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> commit904474d757Merge:d4709434f87a5fe3Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:31:58 2025 -0400 Merge remote-tracking branch 'weblate/development' into development commitd47094346cMerge:4a5f59bf6366a3ebAuthor: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:29:39 2025 -0400 Merge remote-tracking branch 'weblate/development' into development commitf87a5fe3bcAuthor: 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/ commit4a5f59bfd2Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:06:17 2025 -0400 Fixes #654 commitc1302bb54aAuthor: 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 commit773f2d65bbAuthor: 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 commit4228db249eAuthor: 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 commit26f36cabb0Author: 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/ commit3bfd2dd561Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 12:33:23 2025 -0400 Remove empty English (United States) locale file commit6366a3eba6Author: 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/ commit671cd3701fAuthor: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 16:58:04 2025 +0200 Added translation using Weblate (English (United States)) commitbdbbe5f497Author: 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: commit9d4f1b8f53Author: 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/ commit8fac40cfdeAuthor: 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/ commit8e8c42396eAuthor: 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/ commitbe818ab408Author: 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> commit9e40dcf6a1Merge:af2f2809733eefceAuthor: Sean Morley <mail@seanmorley.com> Date: Sun Sep 7 23:03:57 2025 -0400 Merge remote-tracking branch 'weblate/development' into development commitaf2f28090bAuthor: 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 commit733eefceddAuthor: 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/ commit6c750d1c8fAuthor: 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/ commitf733b3b96bMerge:769ea6adaf4e541cAuthor: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:36:35 2025 -0400 Merge branch 'development' of github.com:seanmorley15/AdventureLog into development commit769ea6ad71Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:36:33 2025 -0400 Implement code changes to enhance functionality and improve performance commitaf4e541c1cAuthor: 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> commit904474d757Merge:d4709434f87a5fe3Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:31:58 2025 -0400 Merge remote-tracking branch 'weblate/development' into development commitd47094346cMerge:4a5f59bf6366a3ebAuthor: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:29:39 2025 -0400 Merge remote-tracking branch 'weblate/development' into development commitf87a5fe3bcAuthor: 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/ commit4a5f59bfd2Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 21:06:17 2025 -0400 Fixes #654 commitc1302bb54aAuthor: 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 commit773f2d65bbAuthor: 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 commit4228db249eAuthor: 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 commit26f36cabb0Author: 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/ commit3bfd2dd561Author: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 12:33:23 2025 -0400 Remove empty English (United States) locale file commit6366a3eba6Author: 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/ commit671cd3701fAuthor: Sean Morley <mail@seanmorley.com> Date: Sat Sep 6 16:58:04 2025 +0200 Added translation using Weblate (English (United States)) commitbdbbe5f497Author: 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>
134 lines
6.2 KiB
Markdown
134 lines
6.2 KiB
Markdown
# 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 configuration
|
|
- `time 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+ minutes**
|
|
- `cd frontend && npm run build` - **32 seconds, set timeout to 60 seconds**
|
|
- `cd 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 formatting
|
|
- `cd 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 commands
|
|
- `docker 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:**
|
|
1. **ALWAYS run the bootstrapping steps first** (copy .env, docker compose up)
|
|
2. **Navigate to http://localhost:8015** - Verify homepage loads correctly
|
|
3. **Test basic functionality** - Homepage should display travel companion interface
|
|
4. **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 issues
|
|
- `cd 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_URL` in .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 scripts
|
|
- `backend/server/manage.py` - Django management commands
|
|
- `docker-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 -d` with .env file
|
|
- **Production**: Use `./install_adventurelog.sh` installer 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 install` first, check Node.js version compatibility
|
|
|
|
## Troubleshooting Commands
|
|
```bash
|
|
# 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: `.env` file in repository root
|
|
- Frontend source: `frontend/src/`
|
|
- Backend source: `backend/server/`
|
|
- Static assets: `frontend/static/`
|
|
- Database: Handled by Docker PostgreSQL container
|
|
- Documentation: `documentation/` folder |