mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-10 06:04:18 +00:00
feat: remove cli pass
This commit is contained in:
parent
c991adfd82
commit
17f0c075ce
2 changed files with 5 additions and 5 deletions
8
Makefile
8
Makefile
|
@ -101,11 +101,11 @@ sync-to-veekun: pull pull-veekun # Copy data from this repository to ../pokedex
|
|||
# read-env-file: # Exports ./.env into shell environment variables
|
||||
# export `egrep -v '^#' .env | xargs`
|
||||
|
||||
hasura-export: # Export Hasura configuration
|
||||
hasura md export --project graphql --admin-secret ${HASURA_GRAPHQL_ADMIN_SECRET}
|
||||
hasura-export: # Export Hasura configuration, be sure to have set HASURA_GRAPHQL_ADMIN_SECRET
|
||||
hasura md export --project graphql
|
||||
|
||||
hasura-apply: # Apply local Hasura configuration
|
||||
hasura md apply --project graphql --admin-secret ${HASURA_GRAPHQL_ADMIN_SECRET}
|
||||
hasura-apply: # Apply local Hasura configuration, be sure to have set HASURA_GRAPHQL_ADMIN_SECRET
|
||||
hasura md apply --project graphql
|
||||
|
||||
hasura-get-anon-schema: # Dumps GraphQL schema
|
||||
gq http://localhost:8080/v1/graphql --introspect > graphql/schema.graphql
|
||||
|
|
|
@ -87,7 +87,7 @@ When you start PokéAPI with the above docker-compose setup, an [Hasura Engine](
|
|||
|
||||
```sh
|
||||
# hasura cli needs to be installed and available in your $PATH: https://hasura.io/docs/latest/graphql/core/hasura-cli/install-hasura-cli.html
|
||||
# hasura cli's version has to be v2.0.8
|
||||
# hasura cli's version has to greater than v2.0.8
|
||||
make hasura-apply
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue