-
Fork the Repository
# Go to: https://github.com/your-username/data-ai-course # Click "Fork" button
-
Enable GitHub Pages
- Go to your forked repository
- Click Settings β Pages
- Source: Deploy from a branch
- Branch: main
- Folder: / (root)
- Click Save
-
Your Site is Live! π
- URL:
https://your-username.github.io/data-ai-course/ - Updates automatically on every push to main branch
- URL:
-
Add Custom Domain (Optional)
# In repository root, create CNAME file echo "your-domain.com" > CNAME
-
Configure DNS
- Add CNAME record pointing to:
your-username.github.io - Wait for DNS propagation (5-10 minutes)
- Add CNAME record pointing to:
-
Enable HTTPS
- GitHub Pages automatically provides SSL
- Check "Enforce HTTPS" in Settings β Pages
data-ai-course/
βββ index.html # π Landing page
βββ assets/
β βββ css/landing.css # π¨ Landing page styles
β βββ js/landing.js # β‘ Landing page scripts
βββ phase1-traditional/
β βββ html-dashboard/ # ποΈ Phase 1 demo
βββ phase2-modern/
β βββ mlops-pipeline/ # βοΈ Phase 2 demo
βββ phase3-ai-driven/
β βββ vector-search/ # π€ Phase 3 demo
βββ _config.yml # βοΈ Jekyll configuration
βββ .github/workflows/ # π Auto-deployment
# Update these values for your site
title: "Your Data Engineering Journey"
description: "Your custom description"
url: "https://your-username.github.io"
baseurl: "/your-repo-name"
# Author information
author:
name: "Your Name"
email: "your-email@example.com"
github: "your-username"/* Add to assets/css/landing.css */
:root {
--primary-color: #your-color;
--secondary-color: #your-secondary-color;
}
.hero {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}# In _config.yml
google_analytics: "G-XXXXXXXXXX"<!-- Add to index.html <head> -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XXXXXXXXXX');
</script><meta name="description" content="Complete hands-on data engineering course">
<meta name="keywords" content="data engineering, AI, machine learning, course">
<meta property="og:title" content="Data Engineering Journey">
<meta property="og:description" content="From Traditional to AI-Driven Systems">
<meta property="og:image" content="https://your-site.com/og-image.jpg">GitHub Pages automatically generates sitemap.xml with the jekyll-sitemap plugin.
# Create robots.txt in root
User-agent: *
Allow: /
Sitemap: https://your-username.github.io/data-ai-course/sitemap.xml# Optimize images before deployment
npx imagemin assets/images/* --out-dir=assets/images/optimized// Add to package.json
"scripts": {
"build": "npm run minify-css && npm run minify-js",
"minify-css": "cleancss -o assets/css/landing.min.css assets/css/landing.css",
"minify-js": "terser assets/js/landing.js -o assets/js/landing.min.js"
}GitHub Pages automatically sets appropriate cache headers for static assets.
The .github/workflows/deploy.yml file ensures:
- β Automatic deployment on push to main
- β Dependency installation
- β Asset building
- β Error handling
Add build status badge to README:
[](https://github.com/your-username/data-ai-course/actions/workflows/deploy.yml)# Trigger manual deployment
gh workflow run deploy.ymlβ "404 - Page not found"
- Check repository name matches URL
- Ensure
index.htmlis in root directory - Verify GitHub Pages is enabled in settings
β "Site not updating"
- Check Actions tab for build errors
- Clear browser cache (Ctrl+F5)
- Wait 5-10 minutes for deployment
β "CSS/JS not loading"
- Check file paths are relative to root
- Verify files exist in repository
- Check browser console for 404 errors
β "Build failing"
- Review GitHub Actions logs
- Check YAML syntax in _config.yml
- Ensure all dependencies are listed
# Test locally with Jekyll
gem install bundler jekyll
bundle install
bundle exec jekyll serve --livereload
# Check site accessibility
curl -I https://your-username.github.io/data-ai-course/
# Validate HTML
npx html-validate index.html
# Test performance
npx lighthouse https://your-username.github.io/data-ai-course/- Go to repository Insights β Traffic
- View page views and unique visitors
- Monitor popular content
- Create GA4 property
- Add tracking ID to
_config.yml - View real-time data in GA dashboard
// Add to landing.js
window.addEventListener('load', () => {
const perfData = performance.getEntriesByType('navigation')[0];
console.log('Page load time:', perfData.loadEventEnd - perfData.loadEventStart);
});<meta http-equiv="Content-Security-Policy"
content="default-src 'self'; script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com;">GitHub Pages automatically adds security headers:
X-Frame-Options: DENYX-Content-Type-Options: nosniffX-XSS-Protection: 1; mode=block
Always enable "Enforce HTTPS" in GitHub Pages settings.
- Repository forked and configured
- GitHub Pages enabled
- Custom domain configured (if applicable)
- _config.yml updated with your information
- All demo links working
- Mobile responsiveness tested
- Performance optimized
- Analytics configured
- SEO metadata verified
- Social media sharing tested
- Error monitoring setup
- Backup strategy implemented
- Documentation updated
π Your Data Engineering Journey is now live and ready to transform careers worldwide!
Site URL: https://your-username.github.io/data-ai-course/
Share your course and help others master AI-driven data engineering! π