Improve the README development setup steps around environment variables (#4034)
* Set the NEXTAUTH_URL in the .env example * Add a .env step to the README development setup steps. Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>pull/4018/head
parent
1a81459e28
commit
e66050a414
|
@ -46,8 +46,7 @@ PGSSLMODE=
|
|||
# @see: https://github.com/calendso/calendso/issues/263
|
||||
# @see: https://next-auth.js.org/configuration/options#nextauth_url
|
||||
# Required for Vercel hosting - set NEXTAUTH_URL to equal your NEXT_PUBLIC_WEBAPP_URL
|
||||
# NEXTAUTH_URL='http://localhost:3000'
|
||||
NEXTAUTH_URL=
|
||||
NEXTAUTH_URL='http://localhost:3000'
|
||||
# @see: https://next-auth.js.org/configuration/options#nextauth_secret
|
||||
# You can use: `openssl rand -base64 32` to generate one
|
||||
NEXTAUTH_SECRET=
|
||||
|
|
|
@ -115,7 +115,10 @@ Here is what you need to be able to run Cal.
|
|||
yarn
|
||||
```
|
||||
|
||||
1. Use `openssl rand -base64 32` to generate a key and add it under `NEXTAUTH_SECRET` in the .env file.
|
||||
1. Set up your .env file
|
||||
- Duplicate `.env.example` to `.env`
|
||||
- Use `openssl rand -base64 32` to generate a key and add it under `NEXTAUTH_SECRET` in the .env file.
|
||||
- Use `openssl rand -base64 24` to generate a key and add it under `CALENDSO_ENCRYPTION_KEY` in the .env file.
|
||||
|
||||
#### Quick start with `yarn dx`
|
||||
|
||||
|
|
Loading…
Reference in New Issue