1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 14:15:44 +02:00

wp: add download and config examples (#6461)

This commit is contained in:
iSnackyCracky 2021-09-05 14:12:04 +02:00 committed by GitHub
parent eb3975485d
commit 70093834fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`