Skip to content
No description, website, or topics provided.
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
web
.env.example
.gitignore
.lando.yml
README.md
composer.json
composer.lock
wp-cli.yml

README.md

Configraton Management for Wordpress with WP-CFM Demo

Getting started

git clone git@github.com:snize/wp-cfm_demo.git
cd wp-cfm_demo

Initialize local machine with lando

# lando init
cp .env.example .env
lando start
# Run composer in Lando.
lando composer install

Setup WordPress with wp-cli

# Install WordPress with WP-CLI.
lando wp core install \
--url=wp-cfm-demo.lndo.site \
--title="WP-CFM Demo" \
--admin_user=demo \
--admin_password=demo \
--admin_email=info@example.com

# Activate WP-CFM plugin.
lando wp plugin activate wp-cfm

# Pull default config into Wordpress.
lando wp config pull default

For demo

# Open admin page.
# id/pw demo
open http://wp-cfm-demo.lndo.site/wp/wp-admin

# Generate posts for demo.
lando wp post generate --count=9

# Remove all untracked files and directories.
git clean -fdx
You can’t perform that action at this time.