Setup Center
Prepare the real dashboard stack before connecting your live GA4 data.
This page checks the runtime environment and tells you what is ready for production and what still needs configuration.
Project Files
.env.local
.env.local is missing. Run npm run setup:env.
Environment Variables
Database URL
DATABASE_URL is configured.
Redis URL
REDIS_URL is missing. Memory cache fallback will be used.
Auth Secret
Auth secret is configured.
Google OAuth
Google OAuth client and refresh token are configured.
Service Connections
PostgreSQL
PostgreSQL connection successful.
Redis
REDIS_URL is missing, so the app is using in-memory cache fallback.
Admin User
1 admin user record(s) found.
Next Steps
- 1. Run `npm run setup:env` to create `.env.local` with generated auth secrets.
- 2. Run `npm run infra:up` to start PostgreSQL and Redis with Docker.
- 3. Update `.env.local` with your real `ADMIN_EMAIL`, `ADMIN_PASSWORD`, `GOOGLE_OAUTH_CLIENT_ID`, `GOOGLE_OAUTH_CLIENT_SECRET`, and `GOOGLE_OAUTH_REFRESH_TOKEN`.
- 4. Run `npm run db:push` then `npm run seed:admin`.
- 5. Log in at `/login`, add sites in `/sites`, and test each GA4 property connection.