Quick Deployment Guide
Quick Deployment Guide
Step 1: Prepare Your Files
Before uploading, you need to add two files:
- Profile Photo
- Location:
assets/images/profile.jpg - Size: 500x500px or larger (square)
- Format: JPG or PNG
- Location:
- CV PDF
- Location:
assets/CV_Sreehari_March_2026.pdf - Your latest CV in PDF format
- Location:
Step 2: Create GitHub Repository
- Go to https://github.com/new
- Repository name:
yourusername.github.io(replaceyourusernamewith YOUR GitHub username) - Make it Public
- Do NOT initialize with README
- Click “Create repository”
Step 3: Update Configuration
Edit _config.yml and update:
- Line 7:
url: "https://yourusername.github.io"(use YOUR username) - Line 8-10: Add your social media handles (optional)
Step 4: Upload to GitHub
Option A: Using GitHub Web Interface (Easiest)
- Go to your new repository
- Click “uploading an existing file”
- Drag and drop ALL files from this folder
- Scroll down and click “Commit changes”
Option B: Using Git Command Line
# In the sreehari-website folder, run:
git init
git add .
git commit -m "Initial website"
git branch -M main
git remote add origin https://github.com/YOURUSERNAME/YOURUSERNAME.github.io.git
git push -u origin main
Step 5: Enable GitHub Pages
- Go to your repository on GitHub
- Click “Settings” tab
- Click “Pages” in left sidebar
- Under “Build and deployment”:
- Source: “GitHub Actions”
- Click “Save”
Step 6: Wait and Visit
- Go to “Actions” tab
- Wait for the green checkmark (usually 1-2 minutes)
- Visit:
https://yourusername.github.io
Troubleshooting
Site not appearing?
- Check Actions tab for errors
- Ensure repository is public
- Ensure repository name is exactly
yourusername.github.io - Wait 5 minutes and try again
Layout looks broken?
- Check that
_config.ymlurl is correct - Clear browser cache (Ctrl+Shift+R or Cmd+Shift+R)
Want to test locally first?
# Install Ruby first (ruby-lang.org)
# Then run:
gem install bundler jekyll
bundle install
bundle exec jekyll serve
# Visit: http://localhost:4000
Next Steps
Customize Your Site
- Update social links in
_config.yml - Edit pages:
index.md- Home pageresearch.md- Research interestspublications.md- Your papersteaching.md- Teaching experiencecv.md- CV summary
- Add blog posts (optional):
Create files in
_posts/folder:_posts/2026-04-02-my-first-post.md - Customize colors in
assets/css/style.css
Keep It Updated
To update your site:
- Edit files in your local copy
- Commit and push to GitHub
- Site updates automatically in 1-2 minutes
Need Help?
- Jekyll docs: https://jekyllrb.com/docs/
- GitHub Pages: https://docs.github.com/en/pages
- Email me: suhas.sreehari@ieee.org