Skip to content

Instantly share code, notes, and snippets.

@raphaeldealmeida
Created June 14, 2021 18:21
Show Gist options
  • Save raphaeldealmeida/1d5be41897ec09ed4914b3f26135ad58 to your computer and use it in GitHub Desktop.
Save raphaeldealmeida/1d5be41897ec09ed4914b3f26135ad58 to your computer and use it in GitHub Desktop.
Step-by-step wp install using wp-cli
mkdir blog
cd blog
wp core download
wp config create --dbname=wordpress_plugin --dbuser=root --dbpass=root
wp db create
wp core install --url=example.com --title=Example --admin_user=supervisor --admin_password=password --admin_email=info@example.com
wp server --port=8001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment