Skip to content

Commit 6ebe757

Browse files
committed
add sample env file
1 parent ed72bd2 commit 6ebe757

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/templates/general/.env.sample

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<§prisma># Environment variables declared in this file are automatically made available to Prisma.
2+
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
3+
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
4+
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
5+
6+
# Example connection string for mysql, update to match your used database and database user
7+
# DATABASE_URL=mysql://nxtstartUser:nxtstartPassword@localhost:3306/nxtstartDatabase
8+
DATABASE_URL="file:nxtstart.db"
9+
10+
11+
</§prisma§><§nextAuth§># For github apps: https://github.com/settings/developers
12+
GITHUB_ID=<enter github id>
13+
GITHUB_SECRET=<enter github id>
14+
15+
GOOGLE_CLIENT_ID=<enter google id>
16+
GOOGLE_CLIENT_SECRET=<enter google secret>
17+
18+
# Update according to your deployment address (You can leave this for local development)
19+
NEXTAUTH_URL=http://localhost:3000
20+
21+
# You should replace this secret when deploying your application
22+
SECRET=qwertysecretForTheN3xtJ5Template
23+
24+
</§nextAuth§>

0 commit comments

Comments
 (0)