1.0 KiB
1.0 KiB
Deployment Guide
Production Deployment
Prerequisites
- SSH access to production server (192.168.11.140)
- Password for root user
sshpassinstalled (or use SSH keys)
Quick Deploy
# From explorer-monorepo root
./scripts/deploy.sh
Manual Deploy
# Copy files manually
scp frontend/public/index.html root@192.168.11.140:/var/www/html/index.html
Environment Variables
The deployment script uses these environment variables:
IP: Production server IP (default: 192.168.11.140)DOMAIN: Domain name (default: explorer.d-bis.org)PASSWORD: SSH password (default: L@kers2010)
IP=192.168.11.140 DOMAIN=explorer.d-bis.org ./scripts/deploy.sh
Rollback
If deployment fails, rollback to previous version:
ssh root@192.168.11.140
cp /var/www/html/index.html.backup.* /var/www/html/index.html
Testing
After deployment, test the explorer:
./scripts/test.sh
Or manually:
curl -k -I https://explorer.d-bis.org/