22
33This is a simple command-line tool for downloading and configuring
44WordPress on App Engine Standard for PHP 7.2.
5+
56## Common Prerequisites
67
78* Create a new Cloud Project using the [ Cloud Console] [ cloud-console ]
@@ -43,7 +44,7 @@ command:
4344
4445# # Create or Update a WordPress project for App Engine
4546
46- The ` wordpress.php ` command provides a convenient way for you to either create
47+ The ` wp-gae ` command provides a convenient way for you to either create
4748a new WordPress project or add the required configuration to an existing one.
4849
4950# ## Setup
@@ -65,7 +66,7 @@ a new WordPress project or add the required configuration to an existing one.
6566To download WordPress and set it up for Google Cloud, run the ` create` command:
6667
6768` ` ` sh
68- $ php wordpress.php create
69+ $ php vendor/bin/wp-gae create
6970` ` `
7071
7172The command asks you several questions, please answer them. Then you' ll have a
@@ -80,16 +81,16 @@ If you are migrating an existing project to Google Cloud, you can use the
8081`update` command:
8182
8283```sh
83- $ php wordpress.php update path/to/your-wordpress-site
84+ $ php vendor/bin/wp-gae update path/to/your-wordpress-site
8485```
8586
86- The command asks you several questions, please answer them. This will copy the
87- files in the [` files`]( files/) directory and write the proper configuration.
88- Then your WordPress project will be ready to deploy to Google Cloud!
87+ The command asks you several questions, please answer them. This will copy
88+ [a few files][wp-gcp- files] and write the proper configuration. Then your
89+ WordPress project will be ready to deploy to Google Cloud!
8990
9091## Deploy to Google Cloud
9192
92- `cd` into the root of your WordPress project.
93+ `cd` into the root of your WordPress project.
9394
9495```sh
9596$ cd my-wordpress-project
@@ -208,3 +209,4 @@ the production environment.
208209[cloud-sql-proxy-download]: https://cloud.google.com/sql/docs/mysql/connect-external-app#install
209210[credentials-section]: https://console.cloud.google.com/apis/credentials/
210211[gcs-plugin]: https://wordpress.org/plugins/gcs/
212+ [wp-gcp-files]: https://github.com/GoogleCloudPlatform/php-tools/tree/master/src/Utils/WordPress/files
0 commit comments