Skip to content

Change docker-compose exec app to exec php #402

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 24, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion admin/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ by default).

Clear the cache to apply this change:

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

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

Expand Down
4 changes: 2 additions & 2 deletions distribution/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,11 @@ The API Platform flavor of Behat also comes with a temporary SQLite database ded

Clear the cache of the `test` environment:

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

Then run:

$ docker-compose exec app vendor/bin/behat
$ docker-compose exec php vendor/bin/behat

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

Expand Down
2 changes: 1 addition & 1 deletion schema-generator/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

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:

$ docker-compose exec app vendor/bin/schema
$ docker-compose exec php vendor/bin/schema

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):

Expand Down