Skip to content

Commit b5b503d

Browse files
Update .env.example and CONTRIBUTING.md to include new database and authentication variables
1 parent 75729e2 commit b5b503d

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.env.example

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1+
# Database
2+
DATABASE_URL="" # PostgreSQL connection string
3+
# For Docker Compose: postgresql://hacktoberfest:hacktoberfest123@localhost:5432/hacktoberfest
4+
# For cloud providers: copy the connection string from your provider
5+
6+
# Authentication
17
AUTH_SECRET="" # A random string
28
AUTH_URL="" # Should be http://localhost:3000 for local development
39
AUTH_GITHUB_ID=""
410
AUTH_GITHUB_SECRET=""
5-
XATA_API_KEY=""
6-
XATA_BRANCH="" # Default should be "main"
11+
AUTH_DRIZZLE_URL="$DATABASE_URL" # Should be the same as DATABASE_URL
712

13+
# Optional
814
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME="" # Optional
9-
NEXT_PUBLIC_ANALYTICS_WEBSITE_ID="" # Optional
15+
NEXT_PUBLIC_ANALYTICS_WEBSITE_ID="" # Optional

CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ Simply create a PostgreSQL database and copy the connection string.
9797
Create a `.env` file in the root of the project and add the following variables:
9898

9999
```sh
100-
101100
# Database
102101
DATABASE_URL="" # PostgreSQL connection string
103102
# For Docker Compose: postgresql://hacktoberfest:hacktoberfest123@localhost:5432/hacktoberfest

0 commit comments

Comments
 (0)