Connect, collaborate, and grow with a community of TypeScript developers
docs: add steps to local.md on how to make yourself an admin (#814)
John William Daviscb6c14680586
diff --git a/LOCAL.md b/LOCAL.mdindex 677034b2..5b4929cf 100644--- a/LOCAL.md+++ b/LOCAL.md@@ -114,6 +114,18 @@ Once the server is running you can seed and sync data[planetscale-quick-start]: https://planetscale.com/docs/tutorials/planetscale-quick-start-guide[new-oauth]: https://github.com/settings/applications/new+### Make Yourself an Admin++1. Ensure you have logged into your local instance atleast once+2. Run `pnpm db:studio` - to open [Prisma Studio](https://www.prisma.io/docs/concepts/components/prisma-studio)++ ++3. Click on the `User` table from the list of models+4. Locate your username and open record in new tab to modify Role++ +#### DependenciesUI Library: [shadcn](https://ui.shadcn.com/)@@ -130,7 +142,7 @@ pnpm test:e2e:installYou can use the production server or the dev server to run the e2e tests.-> [!WARNING]+> [!WARNING]> The dev server may cause tests to timeout.### 2.a Production serverdiff --git a/media/change-role-to-admin.png b/media/change-role-to-admin.pngnew file mode 100644index 00000000..09c290d3Binary files /dev/null and b/media/change-role-to-admin.png differdiff --git a/media/prisma-studio-models.png b/media/prisma-studio-models.pngnew file mode 100644index 00000000..4bc5c0beBinary files /dev/null and b/media/prisma-studio-models.png differ