A wordpress development box to show the ability to code and run custom wordpress features.
- Custom plugins
- Custom post types
- Child theme development
- Shortcodes
- Admin bar additions
- Development server setup
- Custom taxonomies
We will use as much automation as possible during provisioning so that our scripts can be used. Though it's important to note that some scripts rely on others, order of execution can be important and there are many setting changes that are designed for dev environments only.
You can use this system on any computer that can run the following software, it's completely platform independent.
- This will run the default webserver with the default php modules we need installed.
| Script | Name | Version | Repo | Description |
|---|---|---|---|---|
| Vagrantfile | Linux | 16.04 | Ubuntu | Xenial64 |
| apache.sh | Apache | 2.x | Ubuntu | Mounts the ./public dir to webroot, installs Apache |
| php.sh | PHP | 7.1.x | ppa:ondrej/php | Installs PHP 7.1, restarts Apache |
| php-mcrypt.sh | PHP Mcrypt extension | - | ppa:ondrej/php | Installs Mcrypt. Only needed for PHP 5.3.x as 5.5 has it built-in. |
| xdebug.sh | Xdebug extension | - | PECL | Install Xdebug extension for debugging purposes. |
| composer.sh | Composer | 1.4.2 | getcomposer.org | Installs PHP's composer package manager |
| database.sh | Internal | 1.0.0 | - | MySQL and PHPMyAdmin tasks |
There will be more modules to follow as we develop this shell.
- WP-CLI installed and plugins automatically activated
- These hooks will install updates and run the autoloader on git pull
- Composer dependancies will auto install from inline provision