Source and Deployment
This directory contains the source code, deployment configuration, and maintenance scripts for the MediaWiki instance.
Directory Structure
- deployment/: Deployment documentation and extension configurations.
- maintenance/: Database backup, restore, and synchronization scripts.
- LocalSettings.php: MediaWiki configuration file.
Deployment Documentation
For comprehensive deployment instructions, see the Deployment Guide.
Quick Start
Development
# Start development environment
docker-compose -f docker-compose.dev.yml up -d --buildProduction
# Deploy to production
docker-compose -f docker-compose.prod.yml up -dMaintenance
Scripts are located in src/maintenance/:
backup_db.sh: Backup the database.restore_db.sh: Restore the database.sync_prod_to_staging.sh: Sync production data to staging.