2017 © Pedro Peláez
 

project wordpress

Custom Circul8 Wordpress stack.

image

circul8/wordpress

Custom Circul8 Wordpress stack.

  • Friday, June 15, 2018
  • by lucien144
  • Repository
  • 1 Watchers
  • 0 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 824 Forks
  • 2 Open issues
  • 61 Versions
  • 19 % Grown

The README.md

Wordpress Stack

Packagist, (*1)

Circul8's WordPress stack based on the Root's Bedrock with some pre-installed plugins., (*2)

Installation

1. Init the project

Create a new project in a new folder:, (*3)

It's important to set the ACF PRO key at the beginning otherwise the installation will fail:, (*4)

sh $ export ACF_PRO_KEY=123abc $ composer create-project circul8/wordpress your-project-folder-name, (*5)

2. Configure the DB

Update environment variables in .env file:, (*6)

  • 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

3. Others

  1. Set your site vhost document root to /web folder e.g. /path/to/site/web/, (*7)

  2. Access WP admin at http://example.com/wp/wp-admin, (*8)

Plugins

Pre-installed plugins

  1. Classic Editor (activated -> MU* plugin)
    • We don't use the Gutenberg.
  2. Disable Comments (activated -> MU* plugin)
    • All comments must be disabled. We don't use this functionallity. Also, it's a security hole.
  3. Duplicate Post (activated -> MU* plugin)
    • Administration UX tweak to easily copy/paste posts.
  4. Post Types Order (activated -> MU* plugin)
    • Administration UX tweak to easily reorder posts.
  5. Tinymce Advanced (activated -> MU* plugin)
    • WYSIWYG enahancement.
  6. Advanced Custom Fields PRO (activated -> must use)
    • Most important plugin.
  7. Wordfence (not activated)
    • This is not mandatory plugin, but recommended. Security.
  8. WP Mail SMTP (not activated)
    • This is not mandatory plugin, but recommended, wpmail() is not reliable. Company policy is to use Mailgun.

**MU - Must Use Plugin*, (*9)

Installing new plugins

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

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

Testing & Coding style

The PHPCS has been removed due to the fact this is just a scaffold for WP Headless projects that should use WP plugins only without any theme., (*11)

If additional functionality is needed, follow the Circul8 Coding Standards here., (*12)

Local development

In order to develop this project package locally, you need to: 1. Clone this repo 1. Do your changes in the clone 1. Commit changes (do not push) 1. Create packages.json somewhere (see bellow) 1. Run the create-project with specified packages.json (see bellow), (*13)

create-project

$ composer clearcache && export ACF_PRO_KEY="123==" && composer create-project --repository-url={YOURPATH}/packages.json circul8/wordpress:dev-master

Don't forget to change the {YOURPATH} to your packages.json., (*14)

packages.json

{
  "package": {
      "name": "circul8/wordpress",
      "version": "1.0.0",
      "source": {
        "url": "{YOURPATH}wordpress/.git",
        "type": "git",
        "reference": "{YOURBRANCH}"
      }
  }
}

Again, don't forget to change the {YOURPATH}. This time it must lead to the cloned repository of the circul8/wordpress. You also need to change the {YOURBRANCH} to your testing branch., (*15)

Reference

  • https://gist.github.com/wimvds/7150868

Documentation / Reference


Change log

  • v2.0.0 (2020-01-28)
    • Upgraded to latest Bedrock.
    • Removed starter theme -> ongoing projects should be headless.
    • Removed Timber plugin -> ongoing projects should be headless.
    • Upgraded to the Wordpress 5.3
    • All plugins updated.
  • v1.0.0 (2019-03-14)
    • Versioning started. Wordpress upgraded to 5.1.1.
    • Fix of ACF to work with Guttenberg.
    • Upgraded to latest Bedrock.

The Versions

19/05 2018

1.8.10

1.8.10.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

05/04 2018

1.8.9

1.8.9.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

06/02 2018

1.8.8

1.8.8.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

06/02 2018

1.8.7

1.8.7.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

18/01 2018

1.8.6

1.8.6.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

30/11 2017

1.8.5

1.8.5.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

16/11 2017

1.8.4

1.8.4.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

31/10 2017

1.8.3

1.8.3.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

20/09 2017

1.8.2

1.8.2.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

03/08 2017

1.8.1

1.8.1.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

09/06 2017

1.8.0

1.8.0.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

17/05 2017

1.7.9

1.7.9.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

04/05 2017

1.7.8

1.7.8.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

21/04 2017

1.7.7

1.7.7.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

06/03 2017

1.7.6

1.7.6.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

27/01 2017

1.7.5

1.7.5.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

12/01 2017

1.7.4

1.7.4.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

06/12 2016

1.7.3

1.7.3.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

07/09 2016

1.7.2

1.7.2.0 https://roots.io/bedrock/

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer roots vagrant bedrock

16/08 2016
10/07 2016
21/06 2016
06/05 2016
27/04 2016
13/04 2016
03/03 2016
01/03 2016

1.5.4

1.5.4.0 https://roots.io/bedrock/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer roots vagrant bedrock

03/02 2016

1.5.3

1.5.3.0 https://roots.io/bedrock/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer roots vagrant bedrock

01/02 2016

1.5.2

1.5.2.0 https://roots.io/bedrock/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer roots vagrant bedrock

28/01 2016

1.5.1

1.5.1.0 https://roots.io/bedrock/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer roots vagrant bedrock

17/01 2016

1.5.0

1.5.0.0 https://roots.io/bedrock/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer roots vagrant bedrock

07/01 2016

1.4.7

1.4.7.0 https://roots.io/bedrock/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer roots vagrant bedrock

09/12 2015

1.4.6

1.4.6.0 https://roots.io/bedrock/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer roots vagrant bedrock

16/09 2015

1.4.5

1.4.5.0 https://roots.io/bedrock/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer roots vagrant bedrock

18/08 2015

1.4.4

1.4.4.0 https://roots.io/bedrock/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer roots vagrant bedrock

04/08 2015

1.4.3

1.4.3.0 https://roots.io/bedrock/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer roots vagrant bedrock

24/07 2015

1.4.2

1.4.2.0 https://roots.io/bedrock/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer roots vagrant bedrock

30/06 2015

1.4.1

1.4.1.0 https://roots.io/bedrock/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer roots vagrant bedrock

08/06 2015

1.4.0

1.4.0.0 https://roots.io/bedrock/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer roots vagrant bedrock

07/05 2015

1.3.7

1.3.7.0 https://roots.io/bedrock/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer roots vagrant bedrock

27/04 2015

1.3.6

1.3.6.0 https://roots.io/bedrock/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer roots vagrant bedrock

23/04 2015

1.3.5

1.3.5.0 https://roots.io/bedrock/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer roots vagrant bedrock

01/03 2015

dev-travis-tests

dev-travis-tests http://roots.io/wordpress-stack/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress wp stack composer vagrant capistrano

22/02 2015

1.3.4

1.3.4.0 http://roots.io/wordpress-stack/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer vagrant capistrano

19/02 2015

1.3.3

1.3.3.0 http://roots.io/wordpress-stack/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer vagrant capistrano

18/12 2014

1.3.2

1.3.2.0 http://roots.io/wordpress-stack/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer vagrant capistrano

28/11 2014

1.3.1

1.3.1.0 http://roots.io/wordpress-stack/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer vagrant capistrano

20/11 2014

1.3.0

1.3.0.0 http://roots.io/wordpress-stack/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer vagrant capistrano

04/09 2014

1.2.7

1.2.7.0 http://roots.io/wordpress-stack/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer vagrant capistrano

07/08 2014

1.2.6

1.2.6.0 http://roots.io/wordpress-stack/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer vagrant capistrano

16/07 2014

1.2.5

1.2.5.0 http://roots.io/wordpress-stack/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer vagrant capistrano

17/04 2014

1.2.4

1.2.4.0 http://roots.io/wordpress-stack/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer vagrant capistrano

16/04 2014

1.2.3

1.2.3.0 http://roots.io/wordpress-stack/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer vagrant capistrano

14/04 2014

1.2.2

1.2.2.0 http://roots.io/wordpress-stack/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer vagrant capistrano

08/04 2014

1.2.1

1.2.1.0 http://roots.io/wordpress-stack/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer vagrant capistrano

08/04 2014

1.2.0

1.2.0.0 http://roots.io/wordpress-stack/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer vagrant capistrano

12/03 2014

1.1.1

1.1.1.0 http://roots.io/wordpress-stack/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer vagrant capistrano

01/03 2014

1.1.0

1.1.0.0 http://roots.io/wordpress-stack/

A modern WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer vagrant capistrano