|
|
163c8d6ec7
|
feat: Server deployment scripts + Database init
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled
NEW FILES:
- deploy.sh: One-command setup script (installs deps, creates venv, init db)
- start.sh: Quick start script (launches both backend & frontend)
- backend/scripts/init_db.py: Database initialization with schema + seed data
CHANGES:
- README: Added one-command setup instructions
- All scripts made executable
SERVER DEPLOYMENT:
1. git pull
2. chmod +x deploy.sh && ./deploy.sh
3. ./start.sh (or use PM2/Docker)
The init_db.py script:
- Creates all database tables
- Seeds basic TLD info (com, net, org, io, etc.)
- Works with both SQLite and PostgreSQL
|
2025-12-08 16:54:14 +01:00 |
|