Circul8's WordPress stack based on the Root's Bedrock flavoured with custom theme based on Timber.
- Create a new project in a new folder for your project:
composer create-project circul8/wordpress:dev-master your-project-folder-name
- Update environment variables in
.env
file:
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
-
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-admin
-
Activate the Starter Theme
-
Set front page as a static page
-
Change desired page to Homepage template
-
Check the Starter Theme documentation to see all installed plugins, filters, ...
Installing new plugins are usually disabled on production due to security reasons, therefore use composer:
- Find the plugin at WPackagist
- Install the plugin
composer require wpackagist-plugin/akismet
Check the Starter Theme documentation.