diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 4c49bd7..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.env diff --git a/DEPLOY.md b/DEPLOY.md new file mode 100644 index 0000000..257e6f4 --- /dev/null +++ b/DEPLOY.md @@ -0,0 +1,140 @@ +# Portfolio Landing Page + Git Instance Visuals + +## Architecture + +- **Root domain** (`https://gabrielpereira.me/`) → Portfolio landing page +- **Git subdomain** (`https://git.gabrielpereira.me/`) → Gitea/Forgejo instance + +This separation means visitors hit the curated portfolio first, then choose which repository to explore. + +--- + +## 1. Portfolio Landing Page + +The file `index.html` is a self-contained, single-file portfolio landing page. + +### Deployment: Static Host (Recommended) + +**GitHub Pages** +- Create repo `gabrielpereira/gabrielpereira.me` +- Commit `index.html` as the repo root (or in `/docs` folder) +- Enable Pages → deploy from root (or `/docs`) +- In repo Settings → Pages, add custom domain `gabrielpereira.me` +- Add DNS A record pointing to GitHub Pages IPs + +**Cloudflare Pages** +- Drag `index.html` into Cloudflare Pages dashboard +- Custom domain: `gabrielpereira.me` + +**Netlify / Vercel** +- Drag the `portfolio/` folder into deploy UI +- Set custom domain to `gabrielpereira.me` + +### Deployment: Self-Hosted (Nginx/Caddy) + +Place `index.html` at: +``` +/var/www/gabrielpereira.me/index.html +``` + +Nginx config: +```nginx +server { + listen 443 ssl; + server_name gabrielpereira.me; + root /var/www/gabrielpereira.me; + index index.html; + + location / { + try_files $uri $uri/ =404; + } +} + +server { + listen 443 ssl; + server_name git.gabrielpereira.me; + + location / { + proxy_pass http://localhost:3000; # your Gitea/Forgejo + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-Proto $scheme; + } +} +``` + +Caddyfile: +``` +gabrielpereira.me { + root * /var/www/gabrielpereira.me + file_server +} + +git.gabrielpereira.me { + reverse_proxy localhost:3000 +} +``` + +--- + +## 2. Gitea / Forgejo Visual Improvements + +The file `git-custom-header.html` contains both **CSS overrides** and an **HTML banner**. + +### How to apply + +**Forgejo / Gitea v1.20+ (Admin Panel)** +1. Log in as admin → Site Administration → Customizations +2. Paste the ` + + + diff --git a/index.html b/index.html index 5ba263b..9c17723 100644 --- a/index.html +++ b/index.html @@ -361,7 +361,7 @@

Selected Case Studies

- 3 public repositories + 4 public repositories
@@ -433,6 +433,29 @@ View repository → + +
+
🧪
+

Workspace Experiments

+

+ Active experiments and utility scripts — smaller tools, + data processing pipelines, automation helpers, and + exploratory work that feeds into larger delivery patterns. +

+
+ Python + Scripts + Automation + PoCs +
+
+ 🔄 Evolving + 📦 Utilities +
+ + View repository → + +