From dc169b32af70cd704dcea7d72287bf8aa06283f4 Mon Sep 17 00:00:00 2001 From: Zach Millman Date: Tue, 7 May 2024 09:44:53 -0700 Subject: [PATCH] Fix .env paths in README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9cdfa82..608415d 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ npm install 3\. Follow the steps on [the Google documentation](https://developers.google.com/identity/protocols/oauth2/web-server#creatingcred) to configure a new application and get a client ID and secret. (The callback url is `http://localhost:3000/auth/google/callback`) ```sh -# .env.local +# .env GOOGLE_CLIENT_ID= GOOGLE_CLIENT_SECRET= ``` @@ -54,16 +54,16 @@ GOOGLE_CLIENT_SECRET= Then configure a secret for encrypting session cookies: ```sh -echo "AUTH_SECRET=`openssl rand -base64 33`" >> .env.local +echo "AUTH_SECRET=`openssl rand -base64 33`" >> .env ``` And some settings for the database: ```sh -# .env.local +# .env DATABASE_USER=app DATABASE_DB=app -DATABASE_PASSWORD=S3cre7 +DATABASE_PASSWORD=S3cre7 # arbitrary secret DATABASE_URL="postgresql://app:S3cre7@localhost:5432/app?schema=public" ```