- Run
uv sync --extra dev --extra browserin<repo>. - Install Google Chrome or Chromium.
- Keep your normal Chrome profile closed while bootstrapping the GraceKelly profile.
- Copy
.env.exampleto.env. - Run
python scripts/bootstrap_chrome_profile.py --dry-runto confirm the browser binary and target profile path. - Run
python scripts/bootstrap_chrome_profile.py. - In the opened browser window, sign in to Perplexity Pro.
- Return to the terminal and press Enter so the script can terminate the launched Chrome tree and clear lock files.
- Set
GRACEKELLY_BROWSER_PROFILE_DIRin.envto the printed path, for example<repo>/chrome-profile.
- Do not open
GRACEKELLY_BROWSER_PROFILE_DIRwith your regular Chrome session. - Start the app with
python -m uvicorn gracekelly.main:create_app --factory --port 8011. - If startup fails, fix the profile issue first instead of retrying requests.
- The dedicated profile is missing a valid Perplexity login.
- Re-run
python scripts/bootstrap_chrome_profile.pyand sign in again. - Confirm the app uses the dedicated profile path from
.env, not.../User Data/Default.
- Another Chrome process is still using
GRACEKELLY_BROWSER_PROFILE_DIR. - Close the launched browser tree completely, then restart uvicorn.
- If the path points to
AppData/Local/Google/Chrome/User Data/Defaultor another everyday profile, replace it with a dedicated directory created bypython scripts/bootstrap_chrome_profile.py.