Portfolio-Necromancer

GitHub Pages Deployment Guide

This guide will help you enable GitHub Pages for the Portfolio Necromancer project to make the landing page publicly accessible.

⚠️ Important: demo.py and GitHub Pages

Can demo.py run on GitHub Pages? NO

Can the OUTPUT of demo.py be deployed to GitHub Pages? YES

Quick Setup (5 minutes)

Step 1: Enable GitHub Pages

  1. Go to your repository: https://github.com/jmenichole/Portfolio-Necromancer
  2. Click on Settings tab
  3. Scroll down to Pages section (under “Code and automation”)
  4. Under Build and deployment:
    • Source: Select “Deploy from a branch”
    • Branch: Select main (or your default branch)
    • Folder: Select /docs
  5. Click Save

Step 2: Wait for Deployment

Step 3: Access Your Landing Page

Once deployed, your landing page will be available at:

For this repository: https://jmenichole.github.io/Portfolio-Necromancer/

What Was Created

Landing Page Features

Files Created

Deploying Demo Portfolio Output

Want to deploy the portfolio generated by demo.py to GitHub Pages? Follow these steps:

Step 1: Generate the Demo Portfolio Locally

# Run demo.py on your local machine (requires Python)
python demo.py

This creates a portfolio in demo_portfolio/demo/ with index.html and other assets.

Step 2: Copy Demo Output to docs Folder

# Option A: Replace the current landing page with your demo portfolio
cp -r demo_portfolio/demo/* docs/

# Option B: Create a subdirectory for the demo
mkdir -p docs/demo
cp -r demo_portfolio/demo/* docs/demo/

Step 3: Commit and Push

git add docs/
git commit -m "Add generated demo portfolio to GitHub Pages"
git push origin main

Step 4: Access Your Demo Portfolio

For this repository specifically:

Important Notes

Customization

Update Content

To modify the landing page:

  1. Edit docs/index.html for content changes
  2. Edit docs/style.css for styling changes
  3. Commit and push to main branch
  4. GitHub Pages will automatically redeploy

Custom Domain (Optional)

To use a custom domain (e.g., portfolionecromancer.com):

  1. In SettingsPages
  2. Under Custom domain, enter your domain
  3. Add DNS records as instructed
  4. Wait for DNS propagation (up to 24 hours)

Integration Documentation

The INTEGRATIONS.md file provides detailed setup instructions for all integrations:

Available Integrations

  1. Google APIs (Gmail, Drive, Docs)
    • Email and file scraping
    • OAuth setup guide
  2. Slack
    • Team conversation scraping
    • Bot token setup
  3. Figma
    • Design file access
    • Personal token setup
  4. OpenAI
    • AI categorization and summaries
    • API key configuration
  5. Local Screenshots
    • File system scanning
    • No API needed

All integrations are optional and fully documented.

Troubleshooting

GitHub Pages Not Showing

404 Error

Styling Issues

Next Steps

  1. ✅ Enable GitHub Pages (follow Step 1 above)
  2. ✅ Verify the landing page loads correctly
  3. ✅ Share the URL with potential users
  4. ✅ Consider adding custom domain
  5. ✅ Update content as project evolves

Support

Frequently Asked Questions (FAQ)

Can I run demo.py directly on GitHub Pages?

No. GitHub Pages is a static hosting service that only serves HTML, CSS, and JavaScript files. It cannot execute Python scripts.

Can I deploy the portfolio generated by demo.py to GitHub Pages?

Yes! After running demo.py on your local machine, you can copy the generated HTML/CSS files to the docs/ folder and commit them. See Deploying Demo Portfolio Output above.

Do I need Python installed to view a portfolio on GitHub Pages?

No. Once the portfolio is generated and deployed to GitHub Pages, visitors only need a web browser to view it. Python is only needed to generate the portfolio, not to view it.

What’s the difference between the landing page and a demo portfolio?

Can I use GitHub Actions to automatically run demo.py?

Yes! You could set up a GitHub Actions workflow to run demo.py and commit the output automatically. However, this requires configuring secrets and proper permissions. For most users, running demo.py locally is simpler.


Your landing page is ready to go live! Just follow Step 1 above to enable GitHub Pages.