Scheduling infrastructure for absolutely everyone.
docs: add an alternate approach to seed local database (#11307)
Aldrind0d37ba34f8d
diff --git a/README.md b/README.mdindex 1f64390a7aa..0513e8acf46 100644--- a/README.md+++ b/README.md@@ -253,6 +253,8 @@ echo 'NEXT_PUBLIC_DEBUG=1' >> .env#### Setting up your first user+##### Approach 1+1. Open [Prisma Studio](https://prisma.io/studio) to look at or modify the database content:```sh@@ -264,6 +266,17 @@ echo 'NEXT_PUBLIC_DEBUG=1' >> .env> New users are set on a `TRIAL` plan by default. You might want to adjust this behavior to your needs in the `packages/prisma/schema.prisma` file.1. Open a browser to [http://localhost:3000](http://localhost:3000) and login with your just created, first user.+##### Approach 2++Seed the local db by running++```sh+cd packages/prisma+yarn db-seed+```++The above command will populate the local db with dummy users.+### E2E-TestingBe sure to set the environment variable `NEXTAUTH_URL` to the correct value. If you are running locally, as the documentation within `.env.example` mentions, the value should be `http://localhost:3000`.