From b3f7d2794c9290df497706a3484ac431d1793495 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Mon, 30 Oct 2023 23:07:46 -0500 Subject: [PATCH] Update local dev instructions for next-auth v5 --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6a522602..d4208b27 100644 --- a/README.md +++ b/README.md @@ -50,8 +50,9 @@ Installation ### 4. Develop locally 1. Clone code -2. Install dependencies `pnpm i` -3. Run `vc dev` to utilize Vercel-stored environment variables +2. Run `pnpm i` to install dependencies +3. Set environment variable `AUTH_URL` to `http://localhost:3000/api/url` (_this is a temporary limitation of `next-auth` v5.0_) +4. Run `vc dev` to start dev server, and utilize Vercel-stored environment variables ### 5. Add Analytics (optional) @@ -68,8 +69,8 @@ Installation FAQ - -Q: My images/content have fallen out of sync with my database and/or production site no longer matches local development. What do I do?
-A: Navigate to `/admin/configuration` and click the "Clear Cache" button. +Q: My images/content have fallen out of sync with my database and/or my production site no longer matches local development. What do I do?
+A: Navigate to `/admin/configuration` and click "Clear Cache" button. Q: I'm seeing server-side runtime errors when loading a page after updating my fork. What do I do?
-A: Navigate to `/admin/configuration` and click the "Clear Cache" button. If this doesn't help, [open an issue](https://github.com/sambecker/exif-photo-blog/issues/new). +A: Navigate to `/admin/configuration` and click "Clear Cache" button. If this doesn't help, [open an issue](https://github.com/sambecker/exif-photo-blog/issues/new).