-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added Windows Powershell Quick Start
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
||
|