Fix readme how to generate Graphql schema

This commit is contained in:
Lorenz Padberg 2024-04-25 10:52:23 +02:00
parent f4700635e3
commit e9c172e265
1 changed files with 15 additions and 1 deletions

View File

@ -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