Skip to content

Commit 6538e56

Browse files
ssmusokedunglas
authored andcommitted
Correct the project directory from api to bookshop-api the example project (#755)
* Correct the project directory from api to api-platform This is to make it consistent with the project name created with the first command * Updated to use the latest recommendation for installation via Symfony Flex * Updated to use the recommended approach for creating a new API Platform project * Update heroku.md
1 parent edea80a commit 6538e56

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

deployment/heroku.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@ If you don't already have one, [create an account on Heroku](https://signup.hero
1515
toolbelt](https://devcenter.heroku.com/articles/getting-started-with-php#set-up). We're guessing you already
1616
have a working install of [Composer](http://getcomposer.org). Perfect, we will need it.
1717

18-
Create a new API Platform project as usual:
19-
20-
composer create-project api-platform/api-platform
18+
Create a new [API Platform project](distribution/index.md#using-the-official-distribution-recommended) which will be used in the rest of this example
2119

2220
Heroku relies on [environment variables](https://devcenter.heroku.com/articles/config-vars) for its configuration. Regardless
2321
of what provider you choose for hosting your application, using environment variables to configure your production environment
24-
is a best practice supported out of the box by API Platform.
22+
is a best practice promoted by API Platform.
2523

2624
Create a Heroku's `app.json` file at the root of the `api/` directory to configure the deployment:
2725

@@ -122,7 +120,7 @@ Go to the `api/` directory, then
122120

123121
git push heroku master
124122

125-
**We're done.** You can play with the demo bookstore API provided with API Platform. It is ready for production and you
123+
**We're done.** You can play with the demo API provided with API Platform. It is ready for production and you
126124
can scale it in one click from the Heroku interface.
127125

128126
To see your logs, run `heroku logs --tail`.

0 commit comments

Comments
 (0)