Skip to content

dreboard/wp_site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Wordpress Site

Build Status

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

Automation and provisioning

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.

Requirements

You can use this system on any computer that can run the following software, it's completely platform independent.

The base box was built with virtualbox 5.1.18 / vagrant 1.9.2

Components

  • 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.

Composer

  • 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

PHPStorm vagrant setup

About

Basic Wordpress Site

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors