feat: Add complete Docker deployment with web-based setup wizard
Major additions: - Web-based setup wizard (setup.php, setup_wizard.php, setup-wizard.js) - Production Docker configuration (docker-compose.prod.yml, .env.production) - Database initialization SQL files (deploy/init_settings.sql) - Template builder system with drag-and-drop UI - Advanced features (OAuth, CDN, enhanced analytics, monetization) - Comprehensive documentation (deployment guides, quick start, feature docs) - Design system with accessibility and responsive layout - Deployment automation scripts (deploy.ps1, generate-secrets.ps1) Setup wizard allows customization of: - Platform name and branding - Domain configuration - Membership tiers and pricing - Admin credentials - Feature toggles Database includes 270+ tables for complete video streaming platform with advanced features for analytics, moderation, template building, and monetization. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
34
deploy/create_db.sql
Normal file
34
deploy/create_db.sql
Normal file
@@ -0,0 +1,34 @@
|
||||
-- ============================================================================
|
||||
-- EasyStream - Complete Database Schema for Docker Deployment
|
||||
-- ============================================================================
|
||||
-- This file is automatically loaded by docker-entrypoint-initdb.d
|
||||
-- It creates all tables needed for the EasyStream platform
|
||||
--
|
||||
-- Generated: 2025-10-25
|
||||
-- Source: Combines easystream.sql + add_advanced_features.sql
|
||||
-- ============================================================================
|
||||
|
||||
-- Use the easystream database (already created by Docker environment)
|
||||
USE `easystream`;
|
||||
|
||||
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
||||
SET time_zone = "+00:00";
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!40101 SET NAMES utf8mb4 */;
|
||||
|
||||
-- Load main schema (all tables)
|
||||
-- This will be loaded from the main SQL file via Docker init
|
||||
SOURCE /docker-entrypoint-initdb.d/main_schema.sql;
|
||||
|
||||
-- Load advanced features
|
||||
-- This will be loaded from the advanced features SQL file
|
||||
SOURCE /docker-entrypoint-initdb.d/advanced_features.sql;
|
||||
|
||||
COMMIT;
|
||||
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
Reference in New Issue
Block a user