Quick Start
To get started with Lumberjack on top of Bedrock, just do the following:
-
Run the following in your terminal:
git clone --depth=1 git@github.com:roots/bedrock.git bedrock-lumberjack-site && rm -rf bedrock-lumberjack-site/.git && cd bedrock-lumberjack-site && composer require rareloop/lumberjack-core && cd web/app/themes && git clone --depth=1 git@github.com:rareloop/lumberjack.git lumberjack && rm -rf lumberjack/.git && cd ../../..This will install the latest version of Bedrock, add the
lumberjack-coredependency and download the most recent Lumberjack starter theme. -
Copy
.env.exampleto.envand update environment variables:DB_NAME- Database nameDB_USER- Database userDB_PASSWORD- Database passwordDB_HOST- Database hostWP_ENV- Set to environment (development,staging,production)WP_HOME- Full URL to WordPress home (http://example.com)WP_SITEURL- Full URL to WordPress including subdirectory (http://example.com/wp)AUTH_KEY,SECURE_AUTH_KEY,LOGGED_IN_KEY,NONCE_KEY,AUTH_SALT,SECURE_AUTH_SALT,LOGGED_IN_SALT,NONCE_SALT- Generate with wp-cli-dotenv-command or from the Roots WordPress Salt Generator
-
Set your site vhost document root to
/path/to/site/web/(/path/to/site/current/web/if using deploys) -
Access WP admin at
http://example.com/wp/wp-adminand activate the Lumberjack theme