π Deployment Guide - GitHub Pages
π Deployment Guide - GitHub Pages
This guide will help you publish the supplementary materials website using GitHub Pages.
π Prerequisites
- Repository uploaded to GitHub
- Administrator permissions on the repository
βοΈ GitHub Pages Configuration
Step 1: Upload Repository to GitHub
If you havenβt done so yet:
# Initialize Git (if not initialized)
git init
# Add all files
git add .
# Initial commit
git commit -m "Initial commit: Setup supplementary materials website"
# Add remote (replace with your GitHub URL)
git remote add origin https://github.com/jcmunozmora/food-perception-rural-colombia.git
# Upload to GitHub
git push -u origin main
Step 2: Activate GitHub Pages
- Go to your repository on GitHub
- Click on Settings (βοΈ)
- In the sidebar, click on Pages
- Under Source, select:
- Branch:
main - Folder:
/ (root)
- Branch:
- Click Save
GitHub will begin building the site. This may take 1-2 minutes.
Step 3: Verify the Site
Your site will be available at:
https://jcmunozmora.github.io/food-perception-rural-colombia/
GitHub Pages automatically:
- β
Renders
README.mdas main page - β
Applies theme specified in
_config.yml - β Generates folder navigation
π¨ Advanced Customization (Optional)
Change Theme
Edit _config.yml:
# Available themes:
theme: minima # Default theme (recommended)
# theme: cayman # Alternative 1
# theme: slate # Alternative 2
# theme: modernist # Alternative 3
See all themes: https://pages.github.com/themes/
Add Custom Domain
If you have your own domain:
- In Settings β Pages, add under Custom domain
- Create
CNAMEfile in root with your domain:supplementary.yourdomain.com - Configure DNS according to GitHub documentation
Enable HTTPS
- In Settings β Pages
- Check Enforce HTTPS box
- Wait for SSL certificate to generate (may take up to 24 hours)
π Website Structure
Once published, the site will have this navigation structure:
Main Page (README.md)
βββ Quantitative Analysis/
β βββ README.md (documentation)
β βββ graphs/ (graphs)
βββ Qualitative Analysis/
β βββ README.md
βββ Workshop Forms/
β βββ README.md
β βββ Downloadable PDFs
βββ Evidence and Transcriptions/
β βββ README.md
β βββ Pictures/ (browsable photos)
βββ Quick Start Guide (QUICKSTART.md)
π Important Links to Update
Once deployed, update these links in your documentation:
In main README:
- Replace
[Journal Name]with journal name when published - Verify all contact emails are updated
In _config.yml:
author:
name: Ana MarΓa Arcila-Agudelo et al.
email: ana.arcila@uniremington.edu.co
π Analytics (Optional)
To track site visits:
Google Analytics
- Create a Google Analytics account
- Get your Tracking ID
- Add to
_config.yml:google_analytics: UA-XXXXXXXXX-X
π οΈ Maintenance and Updates
To update the site:
# Make changes to local files
# ...
# Add changes
git add .
# Commit with descriptive message
git commit -m "docs: update analysis results"
# Push to GitHub
git push origin main
GitHub Pages will update automatically in 1-2 minutes.
β Deployment Checklist
Before announcing the site publicly:
- GitHub Pages activated and working
- README.md looks good on main page
- All internal links work
- PDFs and graphs are accessible
- Images load correctly
- No sensitive information exposed
- Contact emails updated
- License clearly visible
- CITATION.cff configured
- .gitignore prevents uploading sensitive files
- HTTPS enabled (if possible)
- Social metadata (optional, see below)
π Social Metadata (Optional but Recommended)
To improve how the site appears when shared on social media:
Add to _config.yml:
# Open Graph metadata
title: "Healthy is fresh - Rural Colombia Food Study"
description: "Online supplementary materials for participatory study of meal ideals and barriers shaping food choice in rural Colombia"
logo: /assets/images/logo.png # If you have a logo
social:
name: Universidad EAFIT
links:
- https://github.com/jcmunozmora
π Troubleshooting
Site doesnβt load
Symptoms: 404 error when visiting URL
Solutions:
- Verify GitHub Pages is activated in Settings
- Wait 5-10 minutes (deployment may take time)
- Verify branch is
mainnotmaster - Hard refresh: Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac)
Files donβt update
Solutions:
- Verify you did
git pushcorrectly - Clear browser cache
- Wait 2-3 minutes between changes
Images donβt display
Solutions:
- Verify markdown paths: should be relative
- Ensure images are in the repository
- Verify filenames donβt have spaces
CSS/theme doesnβt apply
Solutions:
- Verify
_config.ymlis in root - Verify YAML syntax (correct indentation)
- Try
minimatheme (more stable)
π± Mobile Optimization
GitHub Pages with Jekyll automatically generates responsive sites. To verify:
- Open site on mobile
- Use Chrome Developer Tools (F12 β Toggle device toolbar)
- Test on different screen sizes
π Security
Verify NO sensitive information is exposed:
# Search for possible personal emails
grep -r "@" --include="*.md" --include="*.txt" .
# Search for possible participant names
grep -ri "participant\|name\|surname" Transcriptions/
Ensure .gitignore works:
# See which files are tracked
git ls-files
# Verify complete transcriptions are NOT included
git ls-files | grep -i transcription
π Issue Monitoring
Once public, monitor:
- Open Issues
- Pull Requests
- Forks and Stars (interest indicators)
π― Site Promotion
Once deployed, share:
In the paper:
Supplementary materials available at:
https://jcmunozmora.github.io/food-perception-rural-colombia
On social media:
π Supplementary materials of the "Healthy is fresh" study now available:
π Reproducible analyses
π Workshop forms
πΈ Visual evidence
π Open data
π https://jcmunozmora.github.io/food-perception-rural-colombia
#OpenScience #FoodSystems #Colombia
On your institutional profile:
- Personal website
- ResearchGate
- ORCID
- Google Scholar
π§ Contact for Deployment Support
If you have technical problems with GitHub Pages:
Your site is ready to be published! π
Next step: Execute deployment checklist and activate GitHub Pages.
Last updated: February 2026