Add Lando
This commit is contained in:
14
README.md
14
README.md
@ -14,6 +14,8 @@ Repo for practice task for Autonomic front-end recruitment.
|
||||
|
||||
## Running the site locally
|
||||
|
||||
### `wp-env`
|
||||
|
||||
You can launch an instance of WordPress pre-loaded with this theme using the `wp-env` tool.
|
||||
|
||||
```sh
|
||||
@ -24,3 +26,15 @@ $ wp-env start
|
||||
|
||||
This will launch a WordPress local instance at http://localhost:8888. You can log into the dashboard at http://localhost:8888/wp-admin with `admin` as the username and `password` as the password.
|
||||
|
||||
### Lando
|
||||
|
||||
```sh
|
||||
$ lando start
|
||||
$ lando wp --path=/app/web/ core install \
|
||||
--title="Dev Env" \
|
||||
--admin_user=admin --admin_password=admin --admin_email=admin@example.com \
|
||||
--skip-email --url=https://sample-block-theme.lndo.site/
|
||||
$ lando wp --path=/app/web/ theme activate sample-wp-block-theme
|
||||
```
|
||||
|
||||
### docker-compose
|
||||
|
||||
Reference in New Issue
Block a user