@@ -24,26 +24,20 @@ cd apps/server
2424pnpm dev
2525# in another tab
2626cd apps/typesync
27- pnpm run dev:client
28- ```
29-
30- You can also run Typesync after building:
31-
32- ``` sh
33- # Build all packages and apps first
3427pnpm build
35- # Then start Typesync
28+ # then, from anywhere in the repo, start Typesync
3629hypergraph typesync
3730```
3831
32+
3933Any time you make changes to the schema, you will need to run the following commands:
4034
4135``` sh
4236cd apps/server
4337pnpm prisma migrate dev # this will also generate the Prisma client
4438```
4539
46- You can run the next example app with:
40+ You can run the Typesync Next example app with:
4741
4842``` sh
4943# Notes:
@@ -52,29 +46,6 @@ cd apps/next-example
5246pnpm dev
5347```
5448
55- ### Scaffolding a new Hypergraph application
56-
57- ``` sh
58- # 1. Launch TypeSync (if it isn't already running)
59- hypergraph typesync
60-
61- # 2. In the browser UI click **Generate App**, choose an app name (e.g. `my-app`).
62- # When the toast says "Application my-app generated at ./my-app" the scaffold
63- # is complete and all dependencies are already installed.
64-
65- # 3. Run the app
66- cd my-app
67- pnpm dev
68- ```
69-
70- That's it β the generator automatically
71-
72- * adds the app to ` pnpm-workspace.yaml ` ,
73- * runs ` pnpm install ` inside the new folder, * and*
74- * re-installs at the workspace root so everything stays in sync.
75-
76- You can immediately start hacking in [ ` src/routes ` ] ( my-app/src/routes ) and the
77- Vite dev server will hot-reload your changes.
7849
7950## Upgrading Dependencies
8051
0 commit comments