paul de973f5613
Test and Lint / backend-test (push) Successful in 1m9s
continuous-integration/drone/push Build is passing
Test and Lint / frontend-test (push) Successful in 2m15s
Version and Release / version-bump (push) Successful in 36s
Version and Release / trigger-drone (push) Successful in 4s
fix: comprehensive production deployment fixes and migration safety
Major fixes for production deployment issues:

1. Migration System:
   - Add safe migration runner that handles existing schema
   - Create migration helper functions for idempotent operations
   - Auto-detect existing tables and mark migrations as applied
   - Handle "relation already exists" errors gracefully

2. Production Initialization:
   - Create init-production.sh script for proper startup sequence
   - Fix directory creation and permissions
   - Add admin user creation from environment variables
   - Ensure proper service initialization order

3. Documentation:
   - Add comprehensive PRODUCTION_DEPLOYMENT_GUIDE.md
   - Add MIGRATION_ERROR_FIX.md for immediate issue resolution
   - Document all known production issues and solutions
   - Include backup/restore procedures

4. Safety Improvements:
   - Add migrate:safe npm script for production use
   - Update wait-for-db.sh to use safe migrations in production
   - Add proper error handling and logging

This resolves the "relation already exists" error and prevents similar
issues in future deployments. The safe migration system can handle both
fresh installations and existing databases.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-13 22:57:22 +02:00
2025-07-13 20:46:24 +00:00
2025-07-03 16:27:04 +02:00
2025-07-03 16:25:53 +02:00
2025-07-11 08:30:07 +02:00

Photo Sharing Platform

A secure, self-hosted photo sharing platform designed for weddings and events. Features automatic expiration, email notifications, and simple file-based management.

Features

  • 🔒 Password Protected Galleries
  • Automatic Expiration
  • 📧 Email Notifications
  • 📁 Simple File Management
  • 📊 Analytics Integration
  • 🎨 Customizable Themes
  • 📱 Mobile Responsive
  • Docker Ready

Quick Start

  1. Clone the repository
  2. Run ./scripts/install.sh
  3. Configure .env file
  4. Setup SSL: ./scripts/setup-ssl.sh
  5. Start: docker-compose -f docker-compose.prod.yml up -d

Default credentials: Check ADMIN_CREDENTIALS.txt after first setup

Documentation

See DEPLOYMENT.md for detailed deployment instructions.

License

MIT License

S
Description
Secure photo sharing platform for weddings and events with automatic expiration and email notifications
Readme MIT 48 MiB
2025-07-24 15:24:20 +02:00
Languages
JavaScript 49.5%
TypeScript 47.6%
Shell 2.2%
CSS 0.6%
Dockerfile 0.1%