Deployment Guide for Jelly Renders Blog
Issues Fixed
✅ GitHub Pages Configuration: Updated URLs and baseurl settings ✅ Content Security Policy: Fixed MathJax configuration to work with GitHub Pages ✅ GitHub Actions: Configured automated deployment workflow ✅ Gemfile: Simplified to use GitHub Pages compatible gems
Quick Deployment Steps
1. Push to GitHub
git init
git add .
git commit -m "Initial blog setup with fixes"
git remote add origin git@github.com:JellyBoonz/graphics-blog.git
git push -u origin main
2. Enable GitHub Pages
- Go to your repository: https://github.com/JellyBoonz/graphics-blog
- Click Settings tab
- Scroll down to Pages section
- Under Source, select GitHub Actions
- Save the settings
3. Wait for Deployment
- GitHub will automatically run the deployment workflow
- Check the Actions tab to monitor progress
- Your site will be available at: https://jellyboonz.github.io/graphics-blog
What Was Fixed
MathJax CSP Issues
- Switched from MathJax 3 to MathJax 2.7.7 (more GitHub Pages compatible)
- Updated configuration to avoid CSP violations
- Removed problematic favicon reference
GitHub Pages Configuration
- Fixed case sensitivity in URLs (jellyboonz vs JellyBoonz)
- Updated GitHub Actions workflow to use correct baseurl
- Simplified Gemfile to avoid native extension issues
Deployment Workflow
- Configured GitHub Actions for automatic deployment
- Uses Ruby 3.1 and GitHub Pages compatible gems
- Builds with correct baseurl for subdirectory deployment
Testing Locally (Optional)
If you want to test locally:
# Install GitHub Pages gem
gem install github-pages
# Serve locally
jekyll serve --baseurl "/graphics-blog"
# Or build only
jekyll build --baseurl "/graphics-blog"
Troubleshooting
If GitHub Actions fails:
- Check the Actions tab for error messages
- Ensure GitHub Pages is enabled in repository settings
- Verify the workflow file syntax is correct
If MathJax doesn’t render:
- Check browser console for CSP errors
- The MathJax 2.7.7 configuration should work with GitHub Pages
- Mathematical equations should render as:
$E = mc^2$and$$\int_{-\infty}^{\infty} e^{-x^2} dx$$
If site doesn’t load:
- Verify the URL: https://jellyboonz.github.io/graphics-blog
- Check that GitHub Pages is enabled
- Wait a few minutes after deployment
Next Steps
- Customize Content: Edit the example post and about page
- Add Your Posts: Create new posts in
_posts/directory - Customize Styling: Modify
assets/css/style.css - Add Images: Place images in
assets/images/directory
Your blog is now ready for technical writing about computer graphics! 🚀