2.6 KiB
🚀 Deployment Instructions - Deal Plus Tech Astro
✅ Git Pushed Successfully!
Repository: https://git.moreminimore.com/kunthawat/dealplustech.git
Branch: main
Commit: 6402d88 - Complete Astro migration
📦 Deploy to Easypanel
Option 1: Via Easypanel UI (Recommended)
-
Login to Easypanel: http://110.164.146.46:3000
-
Go to Project:
customerwebsite -
Create New Service:
- Click "New Service" → "Git Repository"
- Repository URL:
https://git.moreminimore.com/kunthawat/dealplustech.git - Branch:
main - Service Name:
dealplustech-astro
-
Configure Build:
- Build Type: Dockerfile
- Dockerfile Path:
./dealplustech-astro/Dockerfile - Port:
3000
-
Click "Deploy"
-
Wait for build (~2-3 minutes)
-
Access your site: Easypanel will provide the URL
Option 2: If Service Already Exists
If you have an existing service for this repo:
- The git push should trigger auto-deploy automatically
- Check the service deployment logs in Easypanel
- If auto-deploy didn't trigger, click "Redeploy" manually
✅ Verify Deployment
After deployment completes:
- Visit your site URL
- Cookie consent banner appears
- Homepage loads correctly
- Privacy Policy accessible (
/privacy-policy/) - Terms & Conditions accessible (
/terms-and-conditions/) - Blog posts load (
/blog/) - All navigation works
- Mobile responsive
⚙️ Post-Deployment Configuration
Enable Umami Analytics
Edit src/layouts/BaseLayout.astro (lines ~103-105):
function loadAnalytics() {
const umamiEnabled = true; // Change to true
const umamiWebsiteId = 'xxx-xxx-xxx'; // Your Umami ID
const umamiDomain = 'analytics.moreminimore.com'; // Your domain
if (umamiEnabled && umamiWebsiteId && umamiDomain) {
// Loads Umami script
}
}
Then commit and push:
git add src/layouts/BaseLayout.astro
git commit -m "Enable Umami Analytics"
git push
🎉 What's Deployed
✅ Astro static site (184KB, 11 pages)
✅ PDPA-compliant Privacy Policy (Thai)
✅ PDPA-compliant Terms & Conditions (Thai)
✅ Cookie Policy with disclosure (Thai)
✅ Cookie consent banner (client-side)
✅ Blog with 3 posts
✅ Umami Analytics placeholder
✅ Production Docker configuration
📞 Support
Easypanel URL: http://110.164.146.46:3000
Git Repository: https://git.moreminimore.com/kunthawat/dealplustech.git
If build fails:
- Check Easypanel build logs
- Verify Dockerfile is at correct path
- Check port is set to 3000
- Review error messages in logs