Fix readme how to generate Graphql schema
This commit is contained in:
parent
f4700635e3
commit
e9c172e265
16
README.md
16
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue