Getting Started with Your Professional Website
Getting Started with Your Professional Website
This guide will help you get your website up and running quickly.
π Quick Setup (5 minutes)
Step 1: Install Ruby and Bundler
On macOS:
# Ruby is pre-installed on macOS
# Just install Bundler
gem install bundler
On Ubuntu/Debian:
sudo apt-get install ruby-full build-essential
gem install bundler
On Windows:
- Download and install from RubyInstaller
Step 2: Install Dependencies
Navigate to your website directory and run:
cd ~/github_site/anujpandey10.github.io
bundle install
This will install Jekyll and all required plugins.
Step 3: Start the Local Server
bundle exec jekyll serve
You should see output like:
Server address: http://127.0.0.1:4000/
Server running... press ctrl-c to stop.
Step 4: View Your Site
Open your browser and go to: http://localhost:4000
π Thatβs it! Your site is now running locally.
βοΈ Making Your First Edits
Update Your Personal Information
- Edit Contact Details -
contact.md- Update email address
- Update GitHub username
- Update LinkedIn URL
- Edit Site Configuration -
_config.yml- Update author information
- Update social media links
- Update description
- Customize About Page -
about.md- Add your specific experience
- Update education details
- Personalize your story
Add a New Blog Post
- Create a new file in
_posts/directory:touch _posts/2025-12-28-my-first-post.md - Add front matter and content:
--- layout: post title: "My First Blog Post" date: 2025-12-28 categories: [Data Science, AI] author: Anuj Pandey --- Your content here... - Save and refresh your browser - the new post will appear!
π’ Deploying to GitHub Pages
Prerequisites
- A GitHub account
- Git installed on your computer
Steps
- Create a GitHub Repository
- Go to GitHub and create a new repository
- Name it:
[your-username].github.io - Example:
anujpandey10.github.io
- Initialize Git (if not already done)
cd ~/github_site/anujpandey10.github.io git init git add . git commit -m "Initial commit - Professional website" - Connect to GitHub
git remote add origin https://github.com/[your-username]/[your-username].github.io.git git branch -M main git push -u origin main - Enable GitHub Pages
- Go to your repository on GitHub
- Click βSettingsβ
- Scroll to βPagesβ section
- Under βSourceβ, select βmainβ branch
- Click βSaveβ
- Wait for Deployment
- GitHub will build your site (takes 1-2 minutes)
- Youβll receive an email when itβs ready
- Visit:
https://[your-username].github.io
π¨ Customization Tips
Change Colors
Edit assets/css/style.scss:
:root {
--primary-color: #2c5aa0; /* Change to your brand color */
--secondary-color: #1a3a6b; /* Darker shade */
--accent-color: #4a90e2; /* Highlight color */
}
Add Your Photo
- Create
assets/images/directory - Add your photo:
assets/images/profile.jpg - Reference in your pages:

Customize Navigation
Edit _data/navigation.yml to change menu items.
Add Google Analytics
- Get your Google Analytics tracking ID
- Edit
_config.yml:google_analytics: UA-XXXXXXXXX-X
π§ Common Commands
# Start local server
bundle exec jekyll serve
# Build site (creates _site/ folder)
bundle exec jekyll build
# Start server on different port
bundle exec jekyll serve --port 4001
# Start with draft posts visible
bundle exec jekyll serve --drafts
# Clean build artifacts
bundle exec jekyll clean
π Content Organization
Your Website/
βββ Pages (root .md files)
β βββ index.md β Homepage
β βββ about.md β About page
β βββ skills.md β Skills page
β βββ experience.md β Experience page
β βββ projects.md β Projects page
β βββ blog.md β Blog landing
β βββ contact.md β Contact page
β
βββ Blog Posts (_posts/)
β βββ YYYY-MM-DD-title.md
β
βββ Styling (assets/css/)
β βββ style.scss β Custom CSS
β
βββ Configuration
βββ _config.yml β Site settings
π Troubleshooting
Site not updating?
- Stop the server (Ctrl+C)
- Run
bundle exec jekyll clean - Start server again
Port already in use?
bundle exec jekyll serve --port 4001
Bundle install fails?
gem install bundler
bundle update
Changes not showing on GitHub Pages?
- Wait 2-3 minutes after pushing
- Check βActionsβ tab for build status
- Clear browser cache
π Learn More
π― Next Steps
- β Get site running locally
- β Update personal information
- β Customize colors and styling
- β Add your own projects
- β Write your first blog post
- β Deploy to GitHub Pages
- β Share your new site!
Need Help? Check README.md or contact me with questions!