# Remote Private Beta (Tailscale) ## 1) One-time prep on host laptop 1. Install and connect Tailscale. 2. In this project folder, create beta env: - `cp .env.beta.example .env.beta` 3. Set a strong secret in `.env.beta` for `CRM_SECRET_KEY`. ## 2) Start beta server - `./start_beta.sh` - Optional custom port: `./start_beta.sh 8080` The script prints the Tailscale URL if Tailscale is running. ## 3) Invite users - Log in as admin. - Settings -> Admin -> Invite User. - Share the Tailscale URL and credentials with each tester. ## 4) Pre-flight safety checks before each test session 1. Run backup now in Settings -> Admin. 2. Run backup verification in Settings -> Admin -> Reliability Checks. 3. Confirm Security panel has no secret warning. ## 5) Troubleshooting - If users cannot connect, confirm host shows `tailscale status` as online. - If CORS error appears, set exact origin in `.env.beta` as `CRM_CORS_ORIGIN=http://:8080` and restart. - If port is in use, run `./start_beta.sh 8090`.