Skip to content

Commit 9064ffc

Browse files
committed
Style / grammar fixes for the deployment chapter
1 parent 67919d9 commit 9064ffc

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

cookbook/deployment/azure-website.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ Deploying to Microsoft Azure Website Cloud
66

77
This step by step cookbook describes how to deploy a small Symfony web
88
application to the Microsoft Azure Website cloud platform. It will explain how
9-
to setup a new Azure website including configuring the right PHP version and
9+
to set up a new Azure website including configuring the right PHP version and
1010
global environment variables. The document also shows how to you can leverage
1111
Git and Composer to deploy your Symfony application to the cloud.
1212

1313
Setting up the Azure Website
1414
----------------------------
1515

16-
To setup a new Microsoft Azure Website, first `signup with Azure`_ or sign in
16+
To set up a new Microsoft Azure Website, first `sign up with Azure`_ or sign in
1717
with your credentials. Once you're connected to your `Azure Portal`_ interface,
1818
scroll down to the bottom and select the **New** panel. On this panel, click
1919
**Web Site** and choose **Custom Create**:
@@ -41,7 +41,7 @@ next step.
4141
Step 2: New MySQL Database
4242
~~~~~~~~~~~~~~~~~~~~~~~~~~
4343

44-
On this step, you will be prompted to setup your MySQL database storage with a
44+
On this step, you will be prompted to set up your MySQL database storage with a
4545
database name and a region. The MySQL database storage is provided by Microsoft
4646
in partnership with ClearDB. Choose the same region you selected for the hosting
4747
plan configuration in the previous step.
@@ -114,7 +114,7 @@ the web server.
114114
Choosing a more recent PHP version can greatly improve runtime performance.
115115
PHP 5.5 ships with a new built-in PHP accelerator called OPCache that
116116
replaces APC. On an Azure Website, OPCache is already enabled and there
117-
is no need to install and setup APC.
117+
is no need to install and set up APC.
118118

119119
The following screenshot shows the output of a :phpfunction:`phpinfo` script
120120
run from an Azure Website to verify that PHP 5.5 is running with
@@ -171,7 +171,7 @@ this file just needs to be moved into the custom website extension directory.
171171
longer be necessary.
172172

173173
To get the ``php_intl.dll`` file under your ``site/wwwroot`` directory, simply
174-
access the online **Kudu** tool by browsing to the following url:
174+
access the online **Kudu** tool by browsing to the following URL:
175175

176176
.. code-block:: text
177177
@@ -342,7 +342,7 @@ credentials, CSRF token protection, etc. These parameters come from the
342342
.. image:: /images/cookbook/deployment/azure-website/step-16.png
343343
:alt: Configuring Symfony global parameters
344344

345-
The most important thing in this cookbook is to correctly setup your database
345+
The most important thing in this cookbook is to correctly set up your database
346346
settings. You can get your MySQL database settings on the right sidebar of the
347347
**Azure Website Dashboard** panel. Simply click on the
348348
**View Connection Strings** link to make them appear in a pop-in.
@@ -395,7 +395,7 @@ Symfony application is more complex than a basic Symfony Standard Edition, you
395395
may have additional commands to execute for setup (see :doc:`/cookbook/deployment/tools`).
396396

397397
Make sure that your application is running by browsing the ``app.php`` front
398-
controller with your web browser and the following url:
398+
controller with your web browser and the following URL:
399399

400400
.. code-block:: bash
401401
@@ -408,7 +408,7 @@ Configure the Web Server
408408
~~~~~~~~~~~~~~~~~~~~~~~~
409409

410410
At this point, the Symfony application has been deployed and works perfectly on
411-
the Azure Website. However, the ``web`` folder is still part of the url, which
411+
the Azure Website. However, the ``web`` folder is still part of the URL, which
412412
you definitely don't want. But don't worry! You can easily configure the web
413413
server to point to the ``web`` folder and remove the ``web`` in the URL (and
414414
guarantee that nobody can access files outside of the ``web`` directory.)
@@ -453,9 +453,9 @@ application, configure it with the following content:
453453
</configuration>
454454
455455
As you can see, the latest rule ``RewriteRequestsToPublic`` is responsible for
456-
rewriting any urls to the ``web/app.php`` front controller which allows you to
456+
rewriting any URLs to the ``web/app.php`` front controller which allows you to
457457
skip the ``web/`` folder in the URL. The first rule called ``BlockAccessToPublic``
458-
matches all url patterns that contain the ``web/`` folder and serves a
458+
matches all URL patterns that contain the ``web/`` folder and serves a
459459
``403 Forbidden`` HTTP response instead. This example is based on Benjamin
460460
Eberlei's sample you can find on GitHub in the `SymfonyAzureEdition`_ bundle.
461461

@@ -471,7 +471,7 @@ and executed on a Microsoft IIS web server. The process is simple and easy
471471
to implement. And as a bonus, Microsoft is continuing to reduce the number
472472
of steps needed so that deployment becomes even easier.
473473

474-
.. _`signup with Azure`: https://signup.live.com/signup.aspx
474+
.. _`sign up with Azure`: https://signup.live.com/signup.aspx
475475
.. _`Azure Portal`: https://manage.windowsazure.com
476476
.. _`PHP MSDN documentation`: http://blogs.msdn.com/b/silverlining/archive/2012/07/10/configuring-php-in-windows-azure-websites-with-user-ini-files.aspx
477477
.. _`git-scm.com`: http://git-scm.com/download

cookbook/deployment/heroku.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ published by Heroku.
1111
Setting up
1212
----------
1313

14-
To setup a new Heroku website, first `signup with Heroku`_ or sign in
14+
To set up a new Heroku website, first `sign up with Heroku`_ or sign in
1515
with your credentials. Then download and install the `Heroku Toolbelt`_ on your
1616
local computer.
1717

@@ -114,7 +114,7 @@ create the ``Procfile`` file and to add it to the repository:
114114
Setting the ``prod`` Environment
115115
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116116

117-
During a deploy, Heroku runs ``composer install --no-dev`` to install all of the
117+
During a deployment, Heroku runs ``composer install --no-dev`` to install all the
118118
dependencies your application requires. However, typical `post-install-commands`_
119119
in ``composer.json``, e.g. to install assets or clear (or pre-warm) caches, run
120120
using Symfony's ``dev`` environment by default.
@@ -209,7 +209,7 @@ application will respond:
209209
You should be seeing your Symfony application in your browser.
210210

211211
.. _`the original article`: https://devcenter.heroku.com/articles/getting-started-with-symfony2
212-
.. _`signup with Heroku`: https://signup.heroku.com/signup/dc
212+
.. _`sign up with Heroku`: https://signup.heroku.com/signup/dc
213213
.. _`Heroku Toolbelt`: https://devcenter.heroku.com/articles/getting-started-with-php#local-workstation-setup
214214
.. _`getting Started with PHP on Heroku`: https://devcenter.heroku.com/articles/getting-started-with-php
215215
.. _`ephemeral file system`: https://devcenter.heroku.com/articles/dynos#ephemeral-filesystem

cookbook/deployment/platformsh.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ command that you see on the Platform.sh web UI):
144144
``PROJECT-ID``
145145
Unique identifier of your project. Something like ``kjh43kbobssae``
146146
``CLUSTER``
147-
Server location where your project is deplyed. It can be ``eu`` or ``us``
147+
Server location where your project is deployed. It can be ``eu`` or ``us``
148148

149149
Commit the Platform.sh specific files created in the previous section:
150150

cookbook/deployment/tools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Basic scripting:
192192

193193
Platform as a Service Providers:
194194

195-
PaaS is a relatively new way to deploy your application. Typically a PaaS
195+
PaaS is a relatively new way to deploy your application. Typically, a PaaS
196196
will use a single configuration file in your project's root directory to
197197
determine how to build an environment on the fly that supports your software.
198198
One provider with confirmed Symfony support is `PagodaBox`_.

0 commit comments

Comments
 (0)