Brisbane: Vagrant is free and open source software for building up virtual development environments. It can be deemed a wrapper around virtualisation software like VirtualBox and configuration management software such as VirtualBox and configuration management such as Salt, Puppet and Chef.
As of version 1.6, Vagrant offers native support for employing Docker containers at runtime, instead of a wholly virualised operating system. This lessens overhead as Docker employs lightweight Linux Containers.
As Vagrant so lightweight and handy, many WordPress developers have taken Vagrant for development, which has evolved in different configurations and tools for a range of project needs. We have gathered only some WordPress-associated Vagrant resources here that will aid you begin.
1. WordPress Theme Review VVV
If you are a VVV user who spends quite a bit of time building WordPress themes, this is a rapid Vagrant setup that includes all the needed tools for assessing themes. WordPress Theme Review VVV builds a fresh WordPress site, sets up and sets off the Developer and Theme-Check plugins, and brings in the Theme Unit Test data.
2. Primary Vagrant
Primary Vagrant is a configuration built by Chris Wiegman. It’s like VVV but with a few significant differences: it employs Apache rather than NGINX and Puppet in place of Bash. Weigman utilised VVV and Puppet as a base for a latest Vagrant configuration for WordPress theme or plugin development. Principal Vagrant supports Apache and MySQL on Ubuntu and enables the use of different key PHP versions (presently 5.3 – 5.5), which can be changed easily with one line of code.
3. WordPress Kickstart
WordPress Kickstart is a Vagrant development environment provisioned by Puppet. It was developed for use with production stacks that are hosted on DigitalOcean. Once you enter your DigitalOcean API records into the vagrantfile, you will have a command obtainable for working on production deployment and provisioning./ This command enables you to build a new droplet, install you SSH key for confirmation, create a new user account and run the provisioners configured. You can simply switch backward and forward from production to development by taking away .vagrant/ from your project’s root folder.
VagantPress is a easy configuration that installs a WordPress development environment employing Apache with Vagrant/Puppet. It’s geared toward building plugins and themes. VagrantPress presently does not enable for many installation but Chat Thompson, the project’s creator, aims to add more features associated to automating the provisioning and maintenance of many WordPress installations.
5. Varying Vagrant Vagrants
Varying Vagrant Vagrants is one of the most extensively used and best-supported Vagrant configurations for WordPress development. Initially built by the folks at 10up, this open source VVV project became a community organisation earlier this year. The company still adds in to its development and maintenance, aiding to make it one of the steadiest options for installing up a Vagrant-based WordPress development environment. VVV offers a complete configuration for building themes and plugins and also for contributing to WordPress core.
6. Site Wizard
If you are VVV user who is frequently developing and removing sites, then the VVV Site Wizard may be capable of saving you some time. It fully automates the building of new sites as well as the teardown of older ones.
Chassis employs Vagrant and Puppet to build a development environment running Ubuntu, PHP 5.4, Nginx, Imagick, MySQL, WP-CLI, Xdebug, and WordPress, a set up which closely matches multiple managed WP hosting environments. Chassis makes it simple to include extra testing domains by means of YAML configuration file. It also has a support for WordPress multisite, which can be allowed in config.local.yaml or the project configuration file.
8. WordPress Vagrant Boxes
WordPress Vagrant Boxes is a Vagrant configuration that utilised Apache. Though the web server is preconfigured to seek WordPress in a precise location, WordPress Vagrant Boxes is sole in that it does not checkout or set up WordPress at all, It’s up to you to unpack and set up a WordPress ZIP, checkout from SVN, or clone from git.
9. VCCW (vagrant-chef-centos-wordpress)
VCCW (Vagrant +Chef+CenOS+WordPress) was configured for those building WordPress websites, plugins or themes. It takes in 17 customizable constants for setting the WordPress version, hostname, language, admin credentials, subdirectory, default theme, default plugins, multisite, SSL and other alternatives. These constants offer you much flexibility in customizing your development environment to your precise needs.
10. WordPress and Vagrant Google Group
WordPress and Vagrant is a public Google group that you can connect to post primary or advanced questions employing Vagrant for development. This can be useful resource troubleshooting some exclusive issues about employing Vagrant for development. This can be a useful resource for rectifying some exclusive issues related to Vagrant-based WordPress development environments. Nearly all the threads appear to be working with VVV, but the group is not limited specifically.
11. Throwaway WordPress VMs with Vagrant and Ansible
Throwaway WordPress VMs employs Vagrant and Ansible to automate the course of building and provisioning local virtual machines for WordPress development. The scripts were intended for use with Ubuntu, but you can choose any version of Ubuntu you desire to use, or a base box from vagrantbox.es.
12. Monkey Rocket
The developer who built Monkey Rocket employed much of the code from VVV, which he found set up more things than he required for a simple development environment. This vagrant configuration is mostly a stripped down version of VVV that will put you up with the newest stable version of WordPress.
13. WordPress Machine
WordPress Machine installs WordPress on a LAMP stack. It also takes in WP-CLI, Composer and Forge for WordPress theme setup and asset compilation (SCSS, CoffeeScript). This configuration runs WordPress submodule employing WordPress Boilerplate, which signifies that plugins, themes and uploads are separated from the WordPress installation so that WP can be simply updated as a git submodule.
Fortune Innovations Brisbane offer great expertise in providing support and development in WordPress CMS. If you are interested in learning more about WordPress services, feel free to get in touch with our specialists.