mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 04:55:32 +02:00
wp: add download and config examples (#6461)
This commit is contained in:
parent
eb3975485d
commit
70093834fd
1 changed files with 8 additions and 0 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Reference in a new issue