Skip to content

Commit 2ecd7f8

Browse files
authored
Fix the GraphQL install command
1 parent 5c2e987 commit 2ecd7f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribution/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ Isn't API Platform a REST **and** GraphQL framework? That's true! GraphQL suppor
646646
need to install the [graphql-php](https://webonyx.github.io/graphql-php/) library. Run the following command (the cache needs to be cleared twice):
647647

648648
```bash
649-
docker-compose exec php composer req webonyx/graphql-php && bin/console cache:clear
649+
docker-compose exec php composer req webonyx/graphql-php && docker-compose exec php bin/console cache:clear
650650
```
651651

652652
You now have a GraphQL API! Open `https://localhost:8443/graphql` to play with it using the nice [GraphiQL](https://github.com/graphql/graphiql)

0 commit comments

Comments
 (0)