Skip to content

Commit

Permalink
Update getting-started.md (#34)
Browse files Browse the repository at this point in the history
- Added Windows Powershell Quick Start
  • Loading branch information
tuefekci authored Feb 2, 2024
1 parent 832c46c commit a6110de
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Before you get started with this recipe we assume that you have:

Try out the relevant commands below to spin up a new Landoified vanilla WordPress site.

:::: code-group
::: code-group-item bash
```bash
# Create folder and enter it
mkdir wordpress && cd wordpress
Expand Down Expand Up @@ -51,6 +53,44 @@ lando wp core install \
[email protected] \
--path=wordpress
```
:::
::: code-group-item powershell
```powershell
# Create folder and enter it
New-Item -ItemType Directory -Name "wordpress" | Set-Location
# Initialize a wordpress recipe using the latest WordPress version
lando init `
--source remote `
--remote-url https://wordpress.org/latest.tar.gz `
--recipe wordpress `
--webroot wordpress `
--name my-first-wordpress-app
# Start it up
lando start
# List information about this app
lando info
# Create a WordPress config file
lando wp config create `
--dbname=wordpress `
--dbuser=wordpress `
--dbpass=wordpress `
--dbhost=database `
--path=wordpress
# Install WordPress
lando wp core install `
--url=https://my-first-wordpress-app.lndo.site/ `
--title="My First Wordpress App" `
--admin_user=admin `
--admin_password=password `
[email protected] `
--path=wordpress
```
::::

Log in with `admin` and `password` at https://my-first-wordpress-app.lndo.site/wp-login.php

Expand Down

0 comments on commit a6110de

Please sign in to comment.