# Hosting this preview site as a real public link

This is a **self-contained static site** — plain HTML + CSS, no build step and
no server code. Any static host (or even a local file server) can serve it. The
options below are ranked **simplest-first**. Nothing here is deployed for you;
pick one and follow the steps.

> Files to deploy: `index.html`, `assets/style.css`, and all `product-*.html`
> pages. Deploy the **entire `gated-sample-site/` folder** as the site root so
> that `index.html` is the landing page.

---

## 0. Just look at it locally (no account, no internet)

Double-click `index.html` — it opens in your browser via `file://` and works
fully. Good for checking your own work, but the link is **not shareable** with
anyone else. Use one of the options below to get a public URL.

---

## 1. Local static file server (no account) — for sharing on your own network / quick demos

From inside the `gated-sample-site/` folder:

```bash
cd /Users/orenwildstein/agent-factory/gated-sample-site
python3 -m http.server 8000
```

Then visit <http://localhost:8000>. To let someone on the **same Wi-Fi** reach
it, share your machine's LAN IP (e.g. `http://192.168.1.20:8000`). This is **not
a public internet link** and stops when you close the terminal. Best for a live
demo, not a durable shareable link.

---

## 2. Netlify Drop (account: free; fastest path to a real public URL)

The lowest-effort way to get a genuine public `https://` link.

1. Go to <https://app.netlify.com/drop>.
2. **Drag the `gated-sample-site/` folder** onto the drop zone.
3. Netlify instantly gives you a public URL like
   `https://random-name-123.netlify.app`.
4. (Optional) Sign in with a free account to keep the site, rename the
   subdomain, or attach a custom domain.

> Requires a free Netlify account to **keep** the site beyond the initial drop;
> the initial drag-and-drop preview works without one.

---

## 3. Vercel (account: free; good if you want a tidy dashboard / custom domain)

**Easiest (CLI), no Git needed:**

```bash
npm i -g vercel
cd /Users/orenwildstein/agent-factory/gated-sample-site
vercel        # first run logs you in + prompts; accept defaults
vercel --prod # promote to the public production URL
```

Vercel auto-detects a static site (no framework, no build command needed). You
get a `https://<project>.vercel.app` link.

**Or via dashboard:** push the folder to a GitHub repo, then "Import Project" at
<https://vercel.com/new> and deploy with no build settings.

> Requires a free Vercel account.

---

## 4. GitHub Pages (account: free; best for a permanent, version-controlled link)

Most durable and free, but involves a few more steps and a GitHub account.

1. Create a repo (e.g. `data-product-previews`) on GitHub.
2. Put the **contents** of `gated-sample-site/` at the repo root so `index.html`
   is at the top level, then push:

   ```bash
   cd /Users/orenwildstein/agent-factory/gated-sample-site
   git init
   git add .
   git commit -m "Add gated sample-preview site"
   git branch -M main
   git remote add origin https://github.com/<you>/data-product-previews.git
   git push -u origin main
   ```

3. In the repo: **Settings → Pages → Build and deployment → Source = "Deploy
   from a branch"**, pick **`main` / `(root)`**, save.
4. After a minute the site is live at
   `https://<you>.github.io/data-product-previews/`.

> Requires a free GitHub account. The repo can be **public**; the pages already
> include `noindex,nofollow` so search engines won't list them, but anyone with
> the link can view — keep the actual sellable data out of the repo.

---

## Recommendation

- **Need a link in 60 seconds:** Netlify Drop (option 2).
- **Want a permanent, free, versioned home:** GitHub Pages (option 4).
- **Just reviewing locally:** open `index.html` (option 0) or run the Python
  server (option 1).

## A note on "gating"

This site is a **preview shell**: it shows structure and capability, not the
full data. Keep it that way — never commit or upload the complete/sellable
datasets to whichever host you choose. Real access control (logins, signed
links, paywalls) is out of scope for a static host; if you need enforced
gating later, put the full data behind an authenticated API or a service like
Netlify Identity / a gated download link issued per customer.
