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