Skip to content

Commit d9a1bb1

Browse files
author
Elliotte Harold
committed
grammar
1 parent a4bab92 commit d9a1bb1

File tree

1 file changed

+21
-23
lines changed

1 file changed

+21
-23
lines changed

appengine/wordpress/README.md

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
This is a small command line tool for downloading and configuring
44
WordPress for Google Cloud Platform. The script allows you to create a
5-
working WordPress project for
6-
[App Engine standard environment][appengine-standard] or
5+
working WordPress project for the
6+
[App Engine standard environment][appengine-standard] or the
77
[App Engine flexible environment][appengine-flexible].
88

99
## Common Prerequisites
@@ -40,25 +40,25 @@ $ gsutil defacl ch -u AllUsers:R gs://YOUR_PROJECT_ID.appspot.com
4040

4141
## Create and configure a Cloud SQL instance
4242

43-
If you will use App Engine flexible environment, create a Cloud SQL
44-
2nd generation instance, and if you will use App Engine standard
43+
If you will use the App Engine flexible environment, create a Cloud SQL
44+
2nd generation instance, and if you will use the App Engine standard
4545
environment, create a Cloud SQL 1st generation instance.
4646

47-
In this guide, we use `wp` for various resource names; the instance
47+
In this guide, we use `wp` for various resource names: the instance
4848
name, the database name, and the user name.
4949

5050
### Create and configure a Cloud SQL 1st generation instance(for standard environment)
5151

5252
Go to the [SQL settings in the Cloud Console][sql-settings] and create
5353
an instance `wp` and database named `wp`. Go to the Access Control ->
5454
Users, then change the password for `root@localhost`. You will use
55-
this password for accessing from App Engine application.
55+
this password for accessing Cloud SQL from your App Engine application.
5656

5757
Also create the `wp` database in the local mysql server. The local
58-
mysql instance is required to run `wp-cli` tool for
58+
mysql instance is required to run the `wp-cli` tool for
5959
installing/upgrading plugins and themes.
6060

61-
### Create and configure a Cloud SQL 2nd generation instance(for flexible environment)
61+
### Create and configure a Cloud SQL 2nd generation instance (for the flexible environment)
6262

6363
You can create a new Cloud SQL Second Generation instance with the
6464
following command:
@@ -76,11 +76,11 @@ $ gcloud sql instances set-root-password wp \
7676
--password YOUR_INSTANCE_ROOT_PASSWORD # Don't use this password!
7777
```
7878

79-
To access this MySQL instance, we’ll use Cloud SQL Proxy. Please
80-
download an appropriate binary from
81-
[the download page][cloud-sql-proxy-download], make it executable.
79+
To access this MySQL instance, use Cloud SQL Proxy.
80+
Download an appropriate binary from
81+
[the download page][cloud-sql-proxy-download] and make it executable.
8282

83-
If you haven’t created a service account for the project, please
83+
If you haven’t created a service account for the project,
8484
create it on [the Credentials section][credentials-section] in the
8585
Console (Choose a new service account). Download the JSON key file and
8686
save it in a secure place.
@@ -94,8 +94,8 @@ $ cloud_sql_proxy \
9494
-credential_file=PATH_TO_YOUR_SERVICE_ACCOUNT_JSON
9595
```
9696

97-
Now you can access to the Cloud SQL instance with the normal MySQL
98-
client. Please create a new database and a user as follows:
97+
Now you can access the Cloud SQL instance with the normal MySQL
98+
client. Create a new database and a user as follows:
9999

100100
```
101101
$ mysql -h 127.0.0.1 -u root -p
@@ -106,8 +106,6 @@ mysql> exit
106106
Bye
107107
```
108108

109-
In the above example, I created a new database wp and a new user wp.
110-
111109
## How to use
112110

113111
First install the dependencies in this directory as follows:
@@ -147,7 +145,7 @@ $ vendor/bin/wp(.bat) server --path=wordpress
147145

148146
Then access http://localhost:8080/. Follow the installation steps,
149147
create the admin user and its password. Login to the Dashboard and
150-
update if any of the plugins have update.
148+
update if any of the plugins have updates.
151149

152150
Now it’s ready for the first deployment.
153151

@@ -163,15 +161,15 @@ $ gcloud app deploy \
163161
Then access your site, and continue the installation step. The URL is:
164162
https://PROJECT_ID.appspot.com/
165163

166-
Go to the Dashboard, and in the Plugins page, activate the following
164+
Go to the Dashboard. On the Plugins page, activate the following
167165
plugins:
168166

169167

170-
- For standard environment
168+
- For the standard environment
171169
- App Engine WordPress plugin (also set the e-mail address in its
172-
setting page)
170+
settings page)
173171
- Batcache Manager
174-
- For flexible environment
172+
- For the flexible environment
175173
- Batcache Manager
176174
- GCS media plugin
177175

@@ -220,8 +218,8 @@ update the config file manually in that case.
220218

221219
### Update the base image
222220

223-
We sometimes release the security update for
224-
[the php-docker image][php-docker]. Then you’ll have to re-deploy your
221+
We sometimes release a security update for
222+
[the php-docker image][php-docker]. You have to re-deploy your
225223
WordPress instance to get the security update.
226224

227225
Enjoy your WordPress installation!

0 commit comments

Comments
 (0)