Rajeev G. Blog

Wordpress

Last updated:

Tech

Intro

Getting Started

WP-CLI

How to WP-CLI

Install WP-CLI

Install Wordpress (Needs MAMP installed and running for MySQL DB creation)

Start a local test server (Also needs MAMP)

Useful resources

How to Install WordPress on Google Cloud (In 3 Steps)

WP-CLI Guide: Connect to WordPress via SSH Intro

Installing WP-CLI with MAMP

Run WordPress on App Engine standard environment

Common errors/slip-ups

https://wordpress.stackexchange.com/questions/290793/wp-cli-error-establishing-a-database-connection-in-localhost-mamp

WP CLI "Error establishing a database connection" in localhost (MAMP)

Error establishing a database connection. This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.

Go into your wp-config.php and change your DB_HOST to 127.0.0.1 instead of localhost.

https://stackoverflow.com/questions/47309091/with-wp-cli-wp-config-create-generates-error

https://www.mamp.info/en/downloads/
https://medium.com/@tomlarge/wordpress-made-easy-with-wp-cli-9d52b298c5a6