Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 2.21 KB

README.md

File metadata and controls

58 lines (37 loc) · 2.21 KB

Wordpress Stack

Packagist

Circul8's WordPress stack based on the Root's Bedrock flavoured with custom theme based on Timber.

Installation

  1. Create a new project in a new folder for your project:

composer create-project circul8/wordpress:dev-master your-project-folder-name

  1. Update environment variables in .env file:
  • 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
  1. Set your site vhost document root to /path/to/site/web/ (/path/to/site/current/web/ if using deploys)

  2. Access WP admin at http://example.com/wp/wp-admin

  3. Activate the Starter Theme

  4. Set front page as a static page

    Screenshot

  5. Change desired page to Homepage template

    Screenshot

  6. Check the Starter Theme documentation to see all installed plugins, filters, ...

Plugins

Installing new plugins

Installing new plugins are usually disabled on production due to security reasons, therefore use composer:

  1. Find the plugin at WPackagist
  2. Install the plugin composer require wpackagist-plugin/akismet

Must-Use Plugins

Check the Starter Theme documentation.

Documentation