πŸš€ 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

  1. Go to your repository on GitHub
  2. Click on Settings (βš™οΈ)
  3. In the sidebar, click on Pages
  4. Under Source, select:
    • Branch: main
    • Folder: / (root)
  5. 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.md as 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:

  1. In Settings β†’ Pages, add under Custom domain
  2. Create CNAME file in root with your domain:
    supplementary.yourdomain.com
    
  3. Configure DNS according to GitHub documentation

Enable HTTPS

  1. In Settings β†’ Pages
  2. Check Enforce HTTPS box
  3. 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)

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

  1. Create a Google Analytics account
  2. Get your Tracking ID
  3. 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)

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:

  1. Verify GitHub Pages is activated in Settings
  2. Wait 5-10 minutes (deployment may take time)
  3. Verify branch is main not master
  4. Hard refresh: Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac)

Files don’t update

Solutions:

  1. Verify you did git push correctly
  2. Clear browser cache
  3. Wait 2-3 minutes between changes

Images don’t display

Solutions:

  1. Verify markdown paths: should be relative
  2. Ensure images are in the repository
  3. Verify filenames don’t have spaces

CSS/theme doesn’t apply

Solutions:

  1. Verify _config.yml is in root
  2. Verify YAML syntax (correct indentation)
  3. Try minima theme (more stable)

πŸ“± Mobile Optimization

GitHub Pages with Jekyll automatically generates responsive sites. To verify:

  1. Open site on mobile
  2. Use Chrome Developer Tools (F12 β†’ Toggle device toolbar)
  3. 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:


🎯 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