🚀 Deployment Guide
🚀 Deployment Guide
Since you’re experiencing OpenSSL issues with local Jekyll, we’ll use GitHub’s built-in Jekyll support instead. This is actually easier and more reliable!
Option 1: Deploy to a New Repository (Recommended)
Step 1: Create a New GitHub Repository
- Go to GitHub.com and create a new repository
- Name it something like
barbershop-pro-websiteorbarbershop-pro-site - Make it public (required for free GitHub Pages)
- Don’t initialize with README, .gitignore, or license
Step 2: Connect Your Local Repository
# Add the remote repository (replace YOUR_USERNAME and REPO_NAME)
git remote add origin https://github.com/YOUR_USERNAME/REPO_NAME.git
# Push your code
git push -u origin main
Step 3: Enable GitHub Pages
- Go to your repository on GitHub
- Click Settings tab
- Scroll down to Pages section
- Under Source, select Deploy from a branch
- Choose main branch and / (root) folder
- Click Save
Step 4: Your Site is Live! 🎉
Your website will be available at:
https://YOUR_USERNAME.github.io/REPO_NAME
Option 2: Deploy from Subfolder (Same Repository)
If you want to keep the website in the same repository as your barbershop app:
Step 1: Push to Main Repository
# Go back to the main project directory
cd ..
# Add and commit the website folder
git add website/
git commit -m "Add Jekyll website"
git push origin main
Step 2: Configure GitHub Pages
- Go to your main repository settings
- Scroll to Pages section
- Under Source, select Deploy from a branch
- Choose main branch and /website folder
- Click Save
Your site will be at: https://YOUR_USERNAME.github.io/barbershop-app
🎯 Benefits of GitHub’s Jekyll Support
- âś… No local setup required - GitHub builds everything
- âś… Automatic deployment - Push code, site updates automatically
- âś… No OpenSSL issues - GitHub handles all dependencies
- âś… Free hosting - GitHub Pages is free for public repositories
- âś… Custom domain support - You can use your own domain later
📝 Making Changes
After deployment, to update your website:
- Edit files in the
website/folder - Commit changes:
cd website git add . git commit -m "Update website content" git push origin main - Wait 1-2 minutes for GitHub to rebuild and deploy
- Refresh your site to see changes
đź”§ Troubleshooting
Site Not Loading
- Check that the repository is public
- Verify GitHub Pages is enabled in repository settings
- Wait a few minutes for the initial build to complete
Changes Not Appearing
- Check the Actions tab in your repository for build errors
- Make sure you pushed to the correct branch
- Wait 1-2 minutes for GitHub to rebuild
Want to Test Locally?
If you fix the OpenSSL issue later, you can use:
cd website
./serve.sh
But GitHub Pages deployment works great without local testing!