Skip to content

Latest commit

 

History

History
109 lines (81 loc) · 2.77 KB

File metadata and controls

109 lines (81 loc) · 2.77 KB

⚡ GitHub Pages - Quick Start Guide

🚀 Deploy Your AI Prompt Optimizer in 5 Minutes

Method 1: GitHub Web Interface (Recommended)

Step 1: Create Repository

  1. Go to github.com
  2. Click "New" → "New repository"
  3. Name: ai-prompt-optimizer
  4. Make it Public (required for free Pages)
  5. Click "Create repository"

Step 2: Upload Files

  1. Click "uploading an existing file"
  2. Upload all files from github-deploy/ folder:
    • index.html
    • styles.css
    • script.js
    • README.md
    • FEATURES.md
    • package.json
  3. Commit message: "Deploy AI Prompt Optimizer"
  4. Click "Commit changes"

Step 3: Enable Pages

  1. Go to Settings tab
  2. Scroll to "Pages" section
  3. Source: "Deploy from a branch"
  4. Branch: "main"
  5. Click "Save"

Step 4: Access Your Site

  • URL: https://yourusername.github.io/ai-prompt-optimizer
  • Wait 5-10 minutes for deployment

Method 2: Git Command Line

# Navigate to GitHub deployment folder
cd github-deploy

# Initialize git repository
git init

# Add all files
git add .

# Commit changes
git commit -m "Deploy AI Prompt Optimizer"

# Add remote repository (replace YOUR_USERNAME)
git remote add origin https://github.com/YOUR_USERNAME/ai-prompt-optimizer.git

# Push to GitHub
git branch -M main
git push -u origin main

Then enable Pages in GitHub repository settings.


📁 Files Ready for Deployment

In github-deploy/ folder:

  • index.html - Main application
  • styles.css - Styling
  • script.js - JavaScript functionality
  • README.md - Documentation
  • FEATURES.md - Feature list
  • package.json - Project metadata
  • .gitignore - Git ignore file
  • CNAME.example - Custom domain example

🎯 Your Live Site Features

Once deployed, your site will have:

  • Professional UI with your branding
  • Copy to clipboard functionality
  • Start new prompt reset
  • Dynamic context questions
  • Mobile responsive design
  • Footer with your LinkedIn profile

🔗 Final URL

Your AI Prompt Optimizer will be live at: https://yourusername.github.io/ai-prompt-optimizer

🆘 Need Help?

Common Issues:

  • 404 Error: Wait 10-15 minutes for deployment
  • Styling Issues: Check if all files uploaded correctly
  • JavaScript Errors: Open browser console to debug

Quick Fixes:

  1. Check all files uploaded - All 6 files should be in repository
  2. Verify Pages settings - Source should be "Deploy from a branch"
  3. Clear browser cache - Hard refresh (Ctrl+F5 or Cmd+Shift+R)

Your AI Prompt Optimizer is ready for GitHub Pages! 🎉

Deploy it now and share it with the world!