mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-04 21:24:08 -04:00
Add example env
This commit is contained in:
20
.env.example
Normal file
20
.env.example
Normal file
@@ -0,0 +1,20 @@
|
||||
# Use the Prisma Postgres integration from Vercel Marketeplace to automatically connect a Prisma Postgres instance
|
||||
# Or manually run `npx prisma init --db` to create a Prisma Postgres and manually set the `DATABASE_URL` below
|
||||
|
||||
# Create a random 32-character string or run `npx auth secret` to obtain one and set it as the `AUTH_SECRET` below
|
||||
|
||||
GOOGLE_CLIENT_ID=
|
||||
GOOGLE_CLIENT_SECRET=
|
||||
NEXTAUTH_SECRET=
|
||||
NEXTAUTH_URL=http://localhost:3000
|
||||
|
||||
# Email configuration
|
||||
EMAIL_SERVER_HOST=smtp.resend.dev
|
||||
EMAIL_SERVER_PORT=587
|
||||
EMAIL_SERVER_USER=BayesBond
|
||||
EMAIL_SERVER_PASSWORD=
|
||||
RESEND_API_KEY=
|
||||
EMAIL_FROM=
|
||||
|
||||
# Development (SQLite)
|
||||
DATABASE_URL=file:./dev.db
|
||||
@@ -46,7 +46,7 @@ You now need to configure your database connection via an environment variable.
|
||||
First, create an `.env` file:
|
||||
|
||||
```bash
|
||||
touch .env
|
||||
cp .env.example .env
|
||||
```
|
||||
|
||||
To ensure your authentication works properly, you'll also need to set [env vars for NextAuth.js](https://next-auth.js.org/configuration/options):
|
||||
|
||||
Reference in New Issue
Block a user