Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Vagrant for development with WordPress.

branch: master
README.md

Vagrant WordPress

Virtual machine for development with WordPress.

Installed by default:

  • Apache2
  • MySQL
  • PHP
  • Vim
  • WordPress

Requirements

Install:

Clone this repo and execute:

$ git submodule init
$ git submodule update
$ vagrant up

Custom Instalation:

See the configurations that are possible via the Vagrantfile.

WordPress config:

"wordpress" => {
  "dir" => "/home/vagrant/www",
  "version" => "latest",
  "repourl" => "http://wordpress.org/",
  "db" => {
    "database" => "wordpressdb",
    "user" => "wordpressuser"
  }
}
  • dir - Do not change, it is essential to work with the shared folder!
  • url - WordPress tag.gz url
  • lang - WordPress installation language.
  • debug - WordPress debugging mode.
  • db - WordPress MySQL database config.

MySQL config:

"mysql" => {
  "server_root_password" => "vagrant",
  "server_repl_password" => "vagrant",
  "server_debian_password" => "vagrant"
},

All fields are for setting passwords to the MySQL users.

Access via IP or fake domain

To access via IP uncomment the line below:

# config.vm.network :hostonly, "192.168.33.10"

You can also configure your hosts file:

192.168.33.10    www.project-name.com

Sources:

Box

Official Ubuntu 13.04 daily Cloud Image amd64 (Development release, No Guest Additions) by Ubuntu Cloud Images

Cookbooks

Cookbooks by Opscode Public Cookbooks

cookbooks/
    apache2/
    apt/
    build-essential/
    mysql/
    openssl/
    php/
    vim/
    wordpress/

License:

Licensed under the MIT license.

Something went wrong with that request. Please try again.