Update README instructions new user record (#1103)
This commit clarifies the minimum required fields that must be set for the new user record in Prisma Studio to avoid the createContext error when first starting the application on a local development environment Co-authored-by: Peer Richelsen <peeroke@gmail.com>
This commit is contained in:
parent
bd51316c68
commit
dd48749f42
1 changed files with 8 additions and 8 deletions
14
README.md
14
README.md
|
@ -86,6 +86,7 @@ You will also need Google API credentials. You can get this from the [Google API
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
### Setup
|
### Setup
|
||||||
|
|
||||||
#### Quick start with `yarn dx`
|
#### Quick start with `yarn dx`
|
||||||
|
|
||||||
> - **Requires Docker and Docker Compose to be installed**
|
> - **Requires Docker and Docker Compose to be installed**
|
||||||
|
@ -156,7 +157,7 @@ yarn dx
|
||||||
npx prisma studio
|
npx prisma studio
|
||||||
```
|
```
|
||||||
8. Click on the `User` model to add a new user record.
|
8. Click on the `User` model to add a new user record.
|
||||||
9. Fill out the fields (remembering to encrypt your password with [BCrypt](https://bcrypt-generator.com/)) and click `Save 1 Record` to create your first user.
|
9. Fill out the fields `email`, `username`, and `password` (remembering to encrypt your password with [BCrypt](https://bcrypt-generator.com/)) and click `Save 1 Record` to create your first user.
|
||||||
10. Open a browser to [http://localhost:3000](http://localhost:3000) and login with your just created, first user.
|
10. Open a browser to [http://localhost:3000](http://localhost:3000) and login with your just created, first user.
|
||||||
11. Set a 32 character random string in your .env file for the CALENDSO_ENCRYPTION_KEY.
|
11. Set a 32 character random string in your .env file for the CALENDSO_ENCRYPTION_KEY.
|
||||||
|
|
||||||
|
@ -222,7 +223,6 @@ If you want to contribute to the Docker repository, [reply here](https://github.
|
||||||
|
|
||||||
The Docker configuration can be found [in our docker repository](https://github.com/calendso/docker).
|
The Docker configuration can be found [in our docker repository](https://github.com/calendso/docker).
|
||||||
|
|
||||||
|
|
||||||
### Railway
|
### Railway
|
||||||
|
|
||||||
[](https://railway.app/new/template?template=https%3A%2F%2Fgithub.com%2Fcalendso%2Fcalendso&plugins=postgresql&envs=GOOGLE_API_CREDENTIALS%2CBASE_URL%2CNEXTAUTH_URL%2CPORT&BASE_URLDefault=http%3A%2F%2Flocalhost%3A3000&NEXTAUTH_URLDefault=http%3A%2F%2Flocalhost%3A3000&PORTDefault=3000)
|
[](https://railway.app/new/template?template=https%3A%2F%2Fgithub.com%2Fcalendso%2Fcalendso&plugins=postgresql&envs=GOOGLE_API_CREDENTIALS%2CBASE_URL%2CNEXTAUTH_URL%2CPORT&BASE_URLDefault=http%3A%2F%2Flocalhost%3A3000&NEXTAUTH_URLDefault=http%3A%2F%2Flocalhost%3A3000&PORTDefault=3000)
|
||||||
|
@ -289,11 +289,11 @@ Contributions are what make the open source community such an amazing place to b
|
||||||
|
|
||||||
## Obtaining Daily API Credentials
|
## Obtaining Daily API Credentials
|
||||||
|
|
||||||
1. Open [Daily](https://www.daily.co/) and sign into your account.
|
1. Open [Daily](https://www.daily.co/) and sign into your account.
|
||||||
2. From within your dashboard, go to the [developers](https://dashboard.daily.co/developers) tab.
|
2. From within your dashboard, go to the [developers](https://dashboard.daily.co/developers) tab.
|
||||||
3. Copy your API key.
|
3. Copy your API key.
|
||||||
4. Now paste the API key to your .env file into the `DAILY_API_KEY` field in your .env file.
|
4. Now paste the API key to your .env file into the `DAILY_API_KEY` field in your .env file.
|
||||||
5. If you have a [Daily Scale Plan](https://www.daily.co/pricing) can also enable the ability to record Daily video meetings. To do so, set the `DAILY_SCALE_PLAN` environment variable to `'true'`
|
|
||||||
|
|
||||||
<!-- LICENSE -->
|
<!-- LICENSE -->
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue