2017 © Pedro Peláez
 

library wp-skeleton-installer

Installer scripts for https://github.com/wemakecustom/wp-skeleton

image

wemakecustom/wp-skeleton-installer

Installer scripts for https://github.com/wemakecustom/wp-skeleton

  • Friday, April 15, 2016
  • by lavoiesl
  • Repository
  • 3 Watchers
  • 0 Stars
  • 986 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 12 Versions
  • 0 % Grown

The README.md

Wordpress Skeleton Installer

Will be installed with wp-skeleton., (*1)

What it does

Install WordPress and dependencies: * wemakecustom/composer-script-utils (version ^1.0) * wp-cli/wp-cli * johnpbloch/wordpress (version ^4.0) * [wemakecustom/wp-pot-generator][5] (version ~2.0@dev), (*2)

Add all default folders and files needed: * create plugins, mu-plugins, themes folders into /htdocs/wp-content/ * add the default .gitignore for wordpress. * executed scripts before and after each update/install with composer to ensure a stable environement., (*3)

Installation

$ git clone git@github.com:wemakecustom/wp-skeleton-installer.git <project>
$ cd <project>
$ composer install

You will see prompt messages to set default database information, wordpress language and debug parameters., (*4)

ScriptHandler manage the installation: * install must-use plugins; * move and create symlink to WordPress files and folders; * manage config's files (database and basics configuration needed for WordPress); * set SALT keys for encryption of information stored in the user's cookies, (*5)

By default, at the end, you will get WordPress and all configs files installed in <project>/test/ subfolder. To configure another subfolder, please see section configuration bellow., (*6)

Configuration

The following section in composer.json allow you to change the folder where WordPress and the config files are installed. For an example to see how to change this section, please see wp-skeleton., (*7)

{
    "extra": {
        "wordpress-install-dir": "vendor/wordpress/wordpress",
        "confs-dir": "test/confs",
        "web-dir": "test/htdocs",
        "installer-paths": {
            "test/htdocs/wp-content/plugins/{$name}/": ["type:wordpress-plugin"],
            "test/htdocs/wp-content/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
            "test/htdocs/wp-content/themes/composer/{$name}/": ["type:wordpress-theme"]
        }
    }
}

So, you can change: * wordpress-install-dir to specify where you want to install WordPress core. * confs-dir to define where you install config's files (ie database). * web-dir to set the subfolder for WordPress, where core symlinks, themes and plugins will be installed. You will work in this subfolder., (*8)

The Versions

15/04 2016

dev-master

9999999-dev

Installer scripts for https://github.com/wemakecustom/wp-skeleton

  Sources   Download

GPL-2.0

The Requires

 

15/04 2016

v3.0.1

3.0.1.0

Installer scripts for https://github.com/wemakecustom/wp-skeleton

  Sources   Download

GPL-2.0

The Requires

 

05/11 2015

v3.0

3.0.0.0

Installer scripts for https://github.com/wemakecustom/wp-skeleton

  Sources   Download

GPL-2.0

The Requires

 

09/02 2015
18/12 2014

v2.0.3

2.0.3.0

Installer scripts for https://github.com/wemakecustom/wp-skeleton

  Sources   Download

GPL-2.0

The Requires

 

12/12 2014

v2.0.2

2.0.2.0

Installer scripts for https://github.com/wemakecustom/wp-skeleton

  Sources   Download

GPL-2.0

The Requires

 

11/12 2014

v2.0.1

2.0.1.0

Installer scripts for https://github.com/wemakecustom/wp-skeleton

  Sources   Download

GPL-2.0

The Requires

 

11/12 2014

v2.0

2.0.0.0

Installer scripts for https://github.com/wemakecustom/wp-skeleton

  Sources   Download

GPL-2.0

The Requires

 

10/12 2014

v1.2.1

1.2.1.0

Installer scripts for https://github.com/wemakecustom/wp-skeleton

  Sources   Download

GPL-2.0

The Requires

 

03/11 2014

v1.2

1.2.0.0

Installer scripts for https://github.com/wemakecustom/wp-skeleton

  Sources   Download

GPL-2.0

The Requires

 

21/04 2014

v1.1

1.1.0.0

Installer scripts for https://github.com/wemakecustom/wp-skeleton

  Sources   Download

GPL-2.0

The Requires

 

21/04 2014

v1.0

1.0.0.0

Installer scripts for https://github.com/wemakecustom/wp-skeleton

  Sources   Download

GPL-2.0

The Requires