Skip to content

Latest commit

 

History

History
36 lines (33 loc) · 1.49 KB

installing-bedrock.md

File metadata and controls

36 lines (33 loc) · 1.49 KB
ID post_title author post_date post_excerpt layout permalink published docs_project publish_to_discourse
7767
Installing Bedrock
Ben Word
2015-10-15 05:29:33 -0700
doc
true
a:1:{i:0;s:2:"18";}
a:1:{i:0;s:18:"a:1:{i:0;s:1:"0";}";}

Requirements

Installation

  1. Clone the git repo - git clone https://github.com/roots/bedrock.git
  2. Run composer install
  3. Copy .env.example to .env and update environment variables:
  • DB_NAME - Database name
  • DB_USER - Database user
  • DB_PASSWORD - Database password
  • DB_HOST - Database host
  • WP_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 WordPress Salt Generator
  1. Add theme(s) in web/app/themes as you would for a normal WordPress site.
  2. Set your site vhost document root to /path/to/site/web/ (/path/to/site/current/web/ if using deploys)
  3. Access WP admin at http://example.com/wp/wp-admin