Phase 5.5
Supabase Production Setup
Use this page before an online beta. It helps you check auth, row-level security, indexes, backups, admin roles, payout locks, and live-rewards safety.
Build5.5Online beta hardening
js/config.js runtime values.🔐
Production Gates
Required before real online beta testing.
🧭
Setup Steps
Recommended order for going live safely.
- Create a fresh Supabase production project, separate from testing.
- Run
sql/supabase_schema.sqlin the SQL Editor. - Run
sql/production_hardening.sqlafter reviewing comments. - Add your production URL and anon key to
js/config.js. - Create your owner admin in
atlas_admins. - Keep real payouts and real ads locked until provider approval is complete.
- Run the full beta checklist on laptop, iPhone, Android, and desktop.
🧱
Database Hardening
Quick links to generated production files.
The hardening SQL is intentionally conservative. Review it against your live schema before applying to production.
💷
Real Rewards Safety
Keep payout features locked until the business side is ready.
REAL_MONEY_ENABLEDshould stay false during beta unless legal/payment review is complete.PAYOUT_PROVIDER_READYshould stay false until PayPal/Stripe/bank transfer is approved.- Use test payout requests only. Do not promise instant money.
- Keep ad rewards in demo mode until an ad provider is approved.
📋
Exported Summary
Copy this into your launch notes or bug tracker.