From d4bbd68a91c10d95faf37e9ba5412f77548462e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Vicente=20Campanher?= <98998955+JoaoCampanher@users.noreply.github.com> Date: Sat, 21 Sep 2024 01:34:14 -0300 Subject: [PATCH] Update README.md --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f5a189a..aaf07ce 100644 --- a/README.md +++ b/README.md @@ -30,11 +30,20 @@ This will initialize the database schema and apply your migrations. **Step 4: Configure the Environment Variables** -Create a .env file in the root directory of your project. This file will hold your environment variables, including the database connection string: +Create a .env file in the root directory of your project like this: ``` -DATABASE_URL = "postgresql://postgres:mysecretpassword@localhost:5432/postgres" -NEXT_PUBLIC_JWT_KEY = your_jwt_key_here +# For Database: +DATABASE_URL= "postgresql://postgres:mysecretpassword@localhost:5432/postgres" + +# For JWT: +NEXT_PUBLIC_JWT_KEY= your_jwt_key_here + +# To store images using Cloudflare R2: +CLOUDFLARE_ACCOUNT_ID= your_cloudflare_account_id_here +AWS_ACCESS_KEY_ID= your_aws_access_key_id_here +AWS_SECRET_ACCESS_KEY= your_aws_secret_access_key_here +AWS_BUCKET_NAME= your_aws_bucket_name_here ``` Ensure you replace your_jwt_key_here with your actual JWT key.