From 70093834fdcc07cfc72d9a56e660475d5e3bcf93 Mon Sep 17 00:00:00 2001 From: iSnackyCracky Date: Sun, 5 Sep 2021 14:12:04 +0200 Subject: [PATCH] wp: add download and config examples (#6461) --- pages/common/wp.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/common/wp.md b/pages/common/wp.md index b973a4444..aa019c5a3 100644 --- a/pages/common/wp.md +++ b/pages/common/wp.md @@ -11,6 +11,14 @@ `wp cli update` +- Download a fresh WordPress installation to current directory, optionally specifying the locale: + +`wp core download --locale={{locale}}` + +- Create basic `wpconfig` file (assuming database on `localhost`): + +`wp config create --dbname={{dbname}} --dbuser={{dbuser}} --dbpass={{dbpass}}` + - Install and activate a WordPress plugin: `wp plugin install {{plugin}} --activate`