File tree Expand file tree Collapse file tree 1 file changed +2
-22
lines changed Expand file tree Collapse file tree 1 file changed +2
-22
lines changed Original file line number Diff line number Diff line change @@ -110,33 +110,13 @@ The command asks you several questions, please answer them. Then you'll have a
110
110
new WordPress project. By default it will create ` my-wordpress-project ` in the
111
111
current directory.
112
112
113
- ## Run WordPress locally and create a new user (for standard environment)
114
-
115
- If you chose the flexible environment, skip this step.
116
-
117
- This step will create a basic database setup in your local mysql
118
- server. This is required to use ` wp-cli ` tool.
113
+ ## Deployment
119
114
120
115
CD into your WordPress project directory and run the following command
121
- to run WordPress locally (be sure to keep the cloud SQL proxy
122
- running):
116
+ to run deploy:
123
117
124
118
```
125
119
$ cd my-wordpress-project
126
- $ vendor/bin/wp server --path=wordpress
127
- ```
128
-
129
- Then access http://localhost:8080/ . Follow the installation steps,
130
- create the admin user and its password. Login to the Dashboard and
131
- update if any of the plugins have updates.
132
-
133
- Now it’s ready for the first deployment.
134
-
135
- ## Deployment
136
-
137
- You can deploy your WordPress project by the following command.
138
-
139
- ```
140
120
$ gcloud app deploy \
141
121
--promote --stop-previous-version app.yaml cron.yaml
142
122
```
You can’t perform that action at this time.
0 commit comments