Skip to content

Commit 48d03f9

Browse files
Apply manual blockers update
Updated APPLY_TO_MAIN_SITE.md with a new manual overrides section for production readiness, aligned Supabase project ID, added environment, redirects, SITE_URL secret guidance, and deploy verification steps. Also fixed references to the correct Supabase project and prepared health check guidance. X-Lovable-Edit-ID: edt-384d4c69-c96d-4d13-b823-8eba3f8e82bd
2 parents 5388b80 + d17091c commit 48d03f9

1 file changed

Lines changed: 67 additions & 4 deletions

File tree

APPLY_TO_MAIN_SITE.md

Lines changed: 67 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,83 @@
22

33
**Main site:** https://asperbeautyshop-com.lovable.app/
44
**Repo:** asperpharma/understand-project
5-
**Lovable:** https://lovable.dev/projects/657fb572-13a5-4a3e-bac9-184d39fdf7e6/settings
5+
**Lovable:** https://lovable.dev/projects/657fb572-13a5-4a3e-bac9-184d39fdf7e6/settings
6+
**Supabase project:** `qqceibvalkoytafynwoc`
67

78
Use this checklist to run all updates and apply the brain, social media, Google Merchant Center, and every page to the main Asper Beauty Shop website.
89

910
---
1011

12+
## ⚠️ Manual overrides to clear blockers (100% Production Ready)
13+
14+
Do these **in your dashboards** so the live site can use the Brain and Commerce Engine. Tick each when done.
15+
16+
### Step 1 — Lovable environment variables
17+
18+
Open **[Lovable → Settings → Environment variables](https://lovable.dev/projects/657fb572-13a5-4a3e-bac9-184d39fdf7e6/settings)**. Paste these exact values:
19+
20+
| Variable | Value |
21+
|----------|-------|
22+
| `VITE_SUPABASE_PROJECT_ID` | `qqceibvalkoytafynwoc` |
23+
| `VITE_SUPABASE_URL` | `https://qqceibvalkoytafynwoc.supabase.co` |
24+
| `VITE_SUPABASE_PUBLISHABLE_KEY` | *(your anon/public key — see .env)* |
25+
| `VITE_SHOPIFY_STORE_DOMAIN` | `lovable-project-milns.myshopify.com` |
26+
| `VITE_SHOPIFY_STOREFRONT_TOKEN` | *(your Storefront API token)* |
27+
| `VITE_SHOPIFY_API_VERSION` | `2025-07` |
28+
| `VITE_SITE_URL` | `https://asperbeautyshop-com.lovable.app/` |
29+
30+
- [ ] All vars saved → trigger redeploy
31+
32+
### Step 2 — Supabase Auth redirects
33+
34+
Open **[Supabase → Auth → URL Configuration](https://supabase.com/dashboard/project/qqceibvalkoytafynwoc/auth/url-configuration)**:
35+
36+
- Add **Redirect URL:** `https://asperbeautyshop-com.lovable.app/**`
37+
- Set **Site URL:** `https://asperbeautyshop-com.lovable.app/`
38+
39+
- [ ] Redirect URL added and Site URL set
40+
41+
### Step 3 — Edge Function `SITE_URL` secret
42+
43+
Open **[Supabase → Settings → Edge Functions → Secrets](https://supabase.com/dashboard/project/qqceibvalkoytafynwoc/settings/functions)**:
44+
45+
- Add or update: **`SITE_URL`** = `https://asperbeautyshop-com.lovable.app/`
46+
47+
- [ ] SITE_URL secret saved
48+
49+
### Step 5 — Google Merchant Center
50+
51+
- Log into Google Merchant Center (ID `5717495012`).
52+
- Verify Shopify feed is syncing and product links use the main domain.
53+
54+
- [ ] Feed syncing without critical errors
55+
56+
### Step 8 — Deploy & verify
57+
58+
From your **understand-project** clone:
59+
60+
```bash
61+
git add . && git commit -m "feat: complete apply_to_main_site checklist" && git push origin main
62+
```
63+
64+
After Lovable finishes deploying, verify:
65+
66+
```bash
67+
curl -s https://asperbeautyshop-com.lovable.app/health | python -m json.tool
68+
```
69+
70+
- [ ] `/health` returns `"status": "ok"`
71+
72+
---
73+
1174
## 1. Lovable — Environment variables (Brain + Shopify + URL)
1275

1376
In **Lovable** → your project → **Settings****Environment variables**, set (or confirm) these so the built app has the brain and catalog:
1477

1578
| Variable | Value | Purpose |
1679
|----------|--------|----------|
17-
| `VITE_SUPABASE_PROJECT_ID` | `rgehleqcubtmcwyipyvi` | Brain / Beauty Assistant project |
18-
| `VITE_SUPABASE_URL` | `https://rgehleqcubtmcwyipyvi.supabase.co` | Supabase API |
80+
| `VITE_SUPABASE_PROJECT_ID` | `qqceibvalkoytafynwoc` | Brain / Beauty Assistant project |
81+
| `VITE_SUPABASE_URL` | `https://qqceibvalkoytafynwoc.supabase.co` | Supabase API |
1982
| `VITE_SUPABASE_PUBLISHABLE_KEY` | *(your anon/public key)* | Frontend auth & Edge Function calls |
2083
| `VITE_SHOPIFY_STORE_DOMAIN` | `lovable-project-milns.myshopify.com` | 5000+ SKU catalog |
2184
| `VITE_SHOPIFY_STOREFRONT_TOKEN` | *(your Storefront API token)* | Storefront API |
@@ -34,7 +97,7 @@ Reference: `env.main-site.example` in this folder (copy names from there; never
3497

3598
So users can log in on https://asperbeautyshop-com.lovable.app/:
3699

37-
1. Open **Supabase Dashboard** → project **rgehleqcubtmcwyipyvi**
100+
1. Open **Supabase Dashboard** → project **qqceibvalkoytafynwoc**
38101
2. **Authentication****URL Configuration**
39102
3. Add to **Redirect URLs**:
40103
- `https://asperbeautyshop-com.lovable.app/**`

0 commit comments

Comments
 (0)