Wordpress
Last updated:
TechIntro #
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
Run WordPress on App Engine standard environment
Common errors/slip-ups #
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
Useful resources/links #
https://www.mamp.info/en/downloads/
https://medium.com/@tomlarge/wordpress-made-easy-with-wp-cli-9d52b298c5a6