Skip to content

Commit 8afb4d9

Browse files
authored
Merge pull request #402 from dunglas/rename-container
Change docker-compose exec app to exec php
2 parents ad4be2f + dbb0108 commit 8afb4d9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

admin/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ by default).
4545

4646
Clear the cache to apply this change:
4747

48-
$ docker-compose exec app bin/console cache:clear --env=prod
48+
$ docker-compose exec php bin/console cache:clear --env=prod
4949

5050
Your new administration interface is ready! Type `yarn start` to try it!
5151

distribution/testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,11 @@ The API Platform flavor of Behat also comes with a temporary SQLite database ded
160160

161161
Clear the cache of the `test` environment:
162162

163-
$ docker-compose exec app bin/console cache:clear --env=test
163+
$ docker-compose exec php bin/console cache:clear --env=test
164164

165165
Then run:
166166

167-
$ docker-compose exec app vendor/bin/behat
167+
$ docker-compose exec php vendor/bin/behat
168168

169169
Everything should be green now. Your Linked Data API is now specified and tested thanks to Behat!
170170

schema-generator/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
If you use [the official distribution of API Platform](../distribution/index.md), the Schema Generator is already installed as a development dependency of your project and can be invoked through Docker:
66

7-
$ docker-compose exec app vendor/bin/schema
7+
$ docker-compose exec php vendor/bin/schema
88

99
The Schema Generator can also [be downloaded independently as a PHAR](https://github.com/api-platform/schema-generator/releases) or installed in an existing project using [Composer](https://getcomposer.org):
1010

0 commit comments

Comments
 (0)