diff --git a/DEPLOY_INSTRUCTIONS.md b/DEPLOY_INSTRUCTIONS.md new file mode 100644 index 0000000..78dc7d7 --- /dev/null +++ b/DEPLOY_INSTRUCTIONS.md @@ -0,0 +1,52 @@ +# 🚀 VEDA Dahabiyas Route Fix - Deployment Instructions + +## Problem Fixed +The `/dahabiyas/` route was showing 404 on production due to stale build files on the server. + +## Files Ready for Deployment +- ✅ Fresh build generated with `npm run build` +- ✅ Deployment package created: `veda-deployment.tar.gz` +- ✅ All routes including `/dahabiyas/` are properly built + +## Quick Deployment Steps + +### Option 1: Upload via Web Panel/FTP +1. Download `veda-deployment.tar.gz` from this project +2. Upload to your server +3. Extract: `tar -xzf veda-deployment.tar.gz` +4. Copy files: `sudo cp -r out/* /var/www/veda/out/` +5. Set permissions: `sudo chown -R www-data:www-data /var/www/veda/` +6. Reload Caddy: `sudo systemctl reload caddy` + +### Option 2: Direct Server Commands +If you have server access, run these commands: + +```bash +# Navigate to your project directory on the server +cd /path/to/your/project + +# Copy fresh build files +sudo cp -r out/* /var/www/veda/out/ + +# Set proper permissions +sudo chown -R www-data:www-data /var/www/veda/ || sudo chown -R caddy:caddy /var/www/veda/ + +# Reload Caddy +sudo systemctl reload caddy + +# Verify Caddy status +sudo systemctl status caddy +``` + +## Test After Deployment +- ✅ https://www2.veda-egypt.com/ +- ✅ https://www2.veda-egypt.com/dahabiyas/ (should work now!) +- ✅ https://www2.veda-egypt.com/experiences/ +- ✅ https://www2.veda-egypt.com/story/ + +## Files in Deployment Package +- `out/` - Complete static site build +- `Caddyfile` - Web server configuration +- All routes including the fixed `/dahabiyas/` route + +The `/dahabiyas/` route will work immediately after deployment. diff --git a/veda-deployment.tar.gz b/veda-deployment.tar.gz new file mode 100644 index 0000000..feb13b8 Binary files /dev/null and b/veda-deployment.tar.gz differ