From eb34b5c827cca2d789c4b59477659d1a1346a59e Mon Sep 17 00:00:00 2001 From: Nik Graf Date: Wed, 2 Jul 2025 13:13:11 +0200 Subject: [PATCH 1/3] update deployment instructions --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 37c42e8d..2131ae27 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,10 @@ fly volumes create data -s 1 -r fra # set the DATABASE_URL (not sure if it's necessary since already set in the Dockerfile) fly secrets set DATABASE_URL=file:/data/production.sqlite +# set the Privy app secret, id and chain (fill in your values) +fly secrets set PRIVY_APP_SECRET= +fly secrets set PRIVY_APP_ID= +fly secrets set HYPERGRAPH_CHAIN= # deploy (ha=false to avoid starting multiple instances) fly launch --ha=false From ece63422cd7dfd31b0236c2a10668947dc65652b Mon Sep 17 00:00:00 2001 From: Nik Graf Date: Wed, 2 Jul 2025 13:24:11 +0200 Subject: [PATCH 2/3] add typesync development instructions --- README.md | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2131ae27..17ef41fd 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,6 @@ pnpm dev # in another tab cd apps/server pnpm dev -# in another tab -cd apps/typesync -pnpm build -# then, from anywhere in the repo, start Typesync -hypergraph typesync ``` Any time you make changes to the schema, you will need to run the following commands: @@ -40,7 +35,25 @@ cd apps/server pnpm prisma migrate dev # this will also generate the Prisma client ``` -You can run the Typesync Next example app with: +To develop the Typesync CLI, you can run: + +```sh +cd apps/typesync +pnpm dev +``` + +To develop the Typesync frontend run: + +```sh +# open the vite.config.ts and comment out the server object that specifies the port to be 3000 +cd apps/typesync +pnpm run dev:cli +# in another tab +cd apps/typesync +pnpm dev:client +``` + +You can run the Next example app with: ```sh # Notes: From bf25f3962f63ade0963e5de55710f66a087c74db Mon Sep 17 00:00:00 2001 From: Nik Graf Date: Wed, 2 Jul 2025 13:27:10 +0200 Subject: [PATCH 3/3] fix type and link in docs --- docs/docs/query-public-data.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/query-public-data.md b/docs/docs/query-public-data.md index 69fb36db..46643473 100644 --- a/docs/docs/query-public-data.md +++ b/docs/docs/query-public-data.md @@ -1,6 +1,6 @@ -# Query Private Data +# Query Public Data -Based on your schema, you can query public data that your created using Hypergraph. It works very much like [querying private data](#query-private-data). +Based on your schema, you can query public data that your created using Hypergraph. It works very much like [querying private data](/docs/query-private-data). ## useQuery