Last active
March 26, 2019 22:16
-
-
Save scarstens/e16f27b40aba2c6af4e33922c6f18050 to your computer and use it in GitHub Desktop.
Lando Initializer
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
lando init --recipe=wordpress --webroot=. --option via=nginx --option php=7.2 --option database=mariadb --option xdebug=true --source=cwd --name=osp | |
lando start | |
lando wp core download | |
lando wp config create --dbname=wordpress --dbuser=wordpress --dbpass=wordpress | |
lando wp core install --quiet --admin_email="admin@lando.site" --title="LandoSite" --admin_user=admin --admin_password=password --url=https://osp.lndo.site | |
lando wp theme delete twentythirteen ; lando wp theme delete twentyfourteen; lando wp theme delete twentyfifteen; lando wp theme delete twentysixteen; lando wp plugin delete hello; lando wp plugin delete akismet;; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure if this recently changed, but you need to also specify the
--dbhost
asdatabase
otherwise it will use localhost by default.