Skip to content

Commit

Permalink
Change docker-compose to docker compose
Browse files Browse the repository at this point in the history
diff --git a/README.md b/README.md
index 2ff399cc5..8e09211e4 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@ Add this to your `.git/hooks/pre-commit` to generate latest graphql schema befor
 #!/bin/sh

 echo "pre-commit: Generating graphql schema."
-if [ -z `docker ps -q --no-trunc | grep $(docker-compose ps -q web)` ]; then
+if [ -z `docker ps -q --no-trunc | grep $(docker compose ps -q web)` ]; then
     docker compose run --rm web ./manage.py graphql_schema --out schema.graphql
 else
     docker compose exec -T web ./manage.py graphql_schema --out schema.graphql
  • Loading branch information
sauravsapkota committed Aug 14, 2024
1 parent 2524f39 commit 65ae8c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Add this to your `.git/hooks/pre-commit` to generate latest graphql schema befor
#!/bin/sh
echo "pre-commit: Generating graphql schema."
if [ -z `docker ps -q --no-trunc | grep $(docker-compose ps -q web)` ]; then
if [ -z `docker ps -q --no-trunc | grep $(docker compose ps -q web)` ]; then
docker compose run --rm web ./manage.py graphql_schema --out schema.graphql
else
docker compose exec -T web ./manage.py graphql_schema --out schema.graphql
Expand Down

0 comments on commit 65ae8c7

Please sign in to comment.