Setup check
4 things need fixing before accounts and shared tournaments work. Secret values are never shown here.
- Fix
NEXT_PUBLIC_SUPABASE_URL
Not set.
- Fix
NEXT_PUBLIC_SUPABASE_ANON_KEY
Not set.
- Fix
SUPABASE_SERVICE_ROLE_KEY
Not set.
- Note
CRON_SECRET
Not set. Optional: without it the daily cleanup of online sandbox data is off.
- Note
NEXT_PUBLIC_APP_URL
Not set, so links and QR codes use the address the visitor opened (https://volleyballtournament.click). Fine locally; on the live server set it to the site address, like https://yourdomain.click.
- Fix
Supabase connection
Not tested until the Supabase settings above are fixed.
Row Level Security (0002), the database functions (0003, 0005) and live updates (0004) cannot be tested from here, so run every file in supabase/migrations in order, once each (0005 to 0007 can safely be run again).
After changing .env.local, restart the app (and run npm run build again on a live server). Step-by-step instructions are in SETUP_STEPS.md and DEPLOY_AWS.md.