From e9c172e265fab167ba43296f71852f87260628a3 Mon Sep 17 00:00:00 2001 From: Lorenz Padberg Date: Thu, 25 Apr 2024 10:52:23 +0200 Subject: [PATCH] Fix readme how to generate Graphql schema --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 406e4ab0..59dcedc4 100644 --- a/README.md +++ b/README.md @@ -244,10 +244,24 @@ python manage.py export_schema_for_cypress ### Generate GraphQL SDL Document + +for linux: +```bash +cd server +./graphql-schema.sh && npm run codegen --../prefix client ``` -python manage.py export_schema_graphql + +For macOS: (there is a problem with the sed command) + +```bash +cd server +./macos-graphql-schema.sh && npm run codegen --../prefix client + ``` + + + ## Backup to S3 From https://pawelurbanek.com/heroku-postgresql-s3-backup