Skip to content

Latest commit

 

History

History
239 lines (173 loc) · 5.58 KB

File metadata and controls

239 lines (173 loc) · 5.58 KB

📤 How to Upload This Project to GitHub

🎯 Goal

Clean your repository (https://github.com/abdulwasay8126/apollo-2.0) and upload all the new Apify scraper files.


⚡ Quick Method (No Git Installation Required)

Step 1: Clean Repository on GitHub Website

  1. Go to your repository:

  2. Delete all existing files:

    • Click on LICENSE.md → Click trash icon 🗑️ → Commit deletion
    • Click on README.md → Click trash icon 🗑️ → Commit deletion
    • Click on clip.png → Click trash icon 🗑️ → Commit deletion
    • Click on manifest.json → Click trash icon 🗑️ → Commit deletion
    • Click on popup.html → Click trash icon 🗑️ → Commit deletion
    • Click on popup.js → Click trash icon 🗑️ → Commit deletion
  3. Repository should now be empty!


Step 2: Upload README First

  1. On GitHub, click "Add file" → "Upload files"

  2. Drag and drop ONLY:

    • README.md
  3. Commit message:

    Initial commit: Add comprehensive Apify scraper README
    
  4. Click "Commit changes"


Step 3: Upload Core Files

  1. Click "Add file" → "Upload files" again

  2. Drag and drop these files:

    • main.js
    • package.json
    • Dockerfile
    • actor.json
    • INPUT_SCHEMA.json
    • apify.json
    • test-local.js
    • LICENSE.md
  3. Commit message:

    Add core Apify actor files and dependencies
    
  4. Click "Commit changes"


Step 4: Upload Documentation Files

  1. Click "Add file" → "Upload files" again

  2. Drag and drop these documentation files:

    • START_HERE.md
    • QUICK_START.md
    • SETUP_GUIDE.md
    • USAGE.md
    • DEPLOYMENT.md
    • CONTRIBUTING.md
    • PROJECT_SUMMARY.md
    • PROJECT_STRUCTURE.md
    • CONVERSION_COMPLETE.md
    • CHANGELOG.md
  3. Commit message:

    Add comprehensive documentation (11 files)
    
  4. Click "Commit changes"


Step 5: Upload Configuration Files

  1. Click "Add file" → "Create new file"

  2. Create .gitignore:

    • Filename: .gitignore
    • Copy contents from your local .gitignore file
    • Commit message: Add .gitignore
  3. Create .dockerignore:

    • Filename: .dockerignore
    • Copy contents from your local .dockerignore file
    • Commit message: Add .dockerignore

Step 6: Upload .actor Directory

  1. Click "Add file" → "Create new file"

  2. Create .actor/input.json:

    • Filename: .actor/input.json
    • Copy contents from .actor/input.json
    • Commit message: Add example input configuration
  3. Create .actor/actor.json:

    • Filename: .actor/actor.json
    • Copy contents from .actor/actor.json
    • Commit message: Add actor metadata

Step 7: Upload Original Extension Folder

  1. Click "Add file" → "Create new file"

  2. Create files one by one:

    • chrome-extension-original/README.md
    • chrome-extension-original/manifest.json
    • chrome-extension-original/popup.html
    • chrome-extension-original/popup.js
  3. For clip.png:

    • Upload as file (can't create images via text)

✅ Verification Checklist

After uploading, your repository should have:

apollo-2.0/
├── README.md ✅
├── START_HERE.md ✅
├── QUICK_START.md ✅
├── SETUP_GUIDE.md ✅
├── USAGE.md ✅
├── DEPLOYMENT.md ✅
├── CONTRIBUTING.md ✅
├── PROJECT_SUMMARY.md ✅
├── PROJECT_STRUCTURE.md ✅
├── CONVERSION_COMPLETE.md ✅
├── CHANGELOG.md ✅
├── main.js ✅
├── package.json ✅
├── Dockerfile ✅
├── actor.json ✅
├── INPUT_SCHEMA.json ✅
├── apify.json ✅
├── test-local.js ✅
├── LICENSE.md ✅
├── .gitignore ✅
├── .dockerignore ✅
├── .actor/
│   ├── input.json ✅
│   └── actor.json ✅
└── chrome-extension-original/
    ├── README.md ✅
    ├── manifest.json ✅
    ├── popup.html ✅
    ├── popup.js ✅
    └── clip.png ✅

🚀 Using Git Desktop (Alternative)

If you prefer a GUI:

  1. Download GitHub Desktop:

  2. Clone your repository:

    • File → Clone Repository
    • Choose abdulwasay8126/apollo-2.0
  3. Copy all files from this project to the cloned folder

  4. In GitHub Desktop:

    • Review changes
    • Write commit message
    • Click "Commit to main"
    • Click "Push origin"

🔧 Using Git Command Line (If Installed)

# Navigate to your project
cd "C:\Cursor Projects\apollo\apollo-email-scraper-main"

# Initialize if needed
git init

# Add remote
git remote add origin https://github.com/abdulwasay8126/apollo-2.0.git

# Stage only README first
git add README.md
git commit -m "Initial commit: Add comprehensive README"
git branch -M main
git push -f origin main

# Then add everything else
git add .
git commit -m "Add complete Apify scraper with documentation"
git push origin main

🎉 Done!

Your repository is now clean and has all the Apify scraper files!

Next steps:

  1. Update repository description on GitHub
  2. Add topics: apify, apollo-io, scraper, data-extraction
  3. Enable GitHub Pages (optional)
  4. Share with others!

Need help? Check GIT_SETUP_GUIDE.md for more details!