Skip to content

Commit 9b23218

Browse files
committed
docs: update README with setup and development instructions for TypeSync
1 parent e630252 commit 9b23218

1 file changed

Lines changed: 23 additions & 8 deletions

File tree

apps/typesync/README.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,31 @@ pnpm install -g @graphprotocol/hypergraph-cli
1717

1818
## Running
1919

20-
```bash
21-
hypergraph --help
22-
hg --help # short alias
20+
### Setup
2321

24-
# opening TypeSync
25-
hypergraph typesync
26-
hg typesync
22+
```sh
23+
pnpm install
24+
cd apps/server
25+
cp .env.example .env
26+
# add the PRIVY_APP_SECRET & PRIVY_APP_ID to the apps/server/.env file
27+
pnpm prisma migrate dev
28+
```
2729

28-
# opening TypeSync in firefox automatically
29-
hypergraph typesync --open --browser firefox
30+
### Development
31+
32+
```sh
33+
pnpm build --watch
34+
# in another tab
35+
cd apps/events
36+
pnpm dev
37+
# in another tab
38+
cd apps/server
39+
pnpm dev
40+
# in another tab
41+
cd apps/typesync
42+
pnpm build
43+
# then, from anywhere in the repo, start Typesync
44+
hypergraph typesync
3045
```
3146

3247
## Commands

0 commit comments

Comments
 (0)