Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

initial release

  • Loading branch information...
commit 2f599b31650a20c06e0d5e76ff7def64f7a5256a 0 parents
@claudiosmweb authored
1  .gitignore
@@ -0,0 +1 @@
+.vagrant
31 .gitmodules
@@ -0,0 +1,31 @@
+[submodule "cookbooks/apt"]
+ path = cookbooks/apt
+ url = git@github.com:opscode-cookbooks/apt.git
+[submodule "cookbooks/build-essential"]
+ path = cookbooks/build-essential
+ url = git@github.com:opscode-cookbooks/build-essential.git
+[submodule "cookbooks/git"]
+ path = cookbooks/git
+ url = git@github.com:opscode-cookbooks/git.git
+[submodule "cookbooks/subversion"]
+ path = cookbooks/subversion
+ url = git@github.com:opscode-cookbooks/subversion.git
+[submodule "cookbooks/vim"]
+ path = cookbooks/vim
+ url = git@github.com:opscode-cookbooks/vim.git
+[submodule "cookbooks/apache2"]
+ path = cookbooks/apache2
+ url = git@github.com:opscode-cookbooks/apache2.git
+[submodule "cookbooks/mysql"]
+ path = cookbooks/mysql
+ url = git@github.com:opscode-cookbooks/mysql.git
+[submodule "cookbooks/php"]
+ path = cookbooks/php
+ url = git@github.com:opscode-cookbooks/php.git
+[submodule "cookbooks/openssl"]
+ path = cookbooks/openssl
+ url = git@github.com:opscode-cookbooks/openssl.git
+
+[submodule "cookbooks/wordpress"]
+ path = cookbooks/wordpress
+ url = git@github.com:opscode-cookbooks/wordpress.git
54 README.md
@@ -0,0 +1,54 @@
+# Vagrant WordPress #
+
+Virtual machine for development with WordPress.
+
+Installed by default:
+
+* Apache2
+* MySQL
+* PHP
+* Git
+* Subversion
+* Vim
+* WordPress
+
+## Install: ##
+
+Clone this repo and execute:
+
+ $ git submodule init
+ $ git submodule update
+ $ vagrant up
+
+## Requirements ##
+
+* [VirtualBox](https://www.virtualbox.org/)
+* [Ruby](http://www.ruby-lang.org)
+* [Vagrant](http://vagrantup.com/)
+* [Git](http://git-scm.com/)
+
+## Sources: ##
+
+### Box ###
+
+Ubuntu Precise 32 Box by [Vagrantbox.es](http://www.vagrantbox.es/)
+
+### Cookbooks ###
+
+Cookbooks by [Opscode Public Cookbooks](https://github.com/opscode-cookbooks/)
+
+ cookbooks/
+ apache2/
+ apt/
+ build-essential/
+ git/
+ mysql/
+ openssl/
+ php/
+ subversion/
+ vim/
+ wordpress/
+
+## License: ##
+
+Licensed under the MIT license. [License text](http://opensource.org/licenses/mit-license.php).
44 Vagrantfile
@@ -0,0 +1,44 @@
+Vagrant::Config.run do |config|
+ config.vm.define :wpvm do |wp_config|
+
+ # Box
+ wp_config.vm.box = "precise32"
+
+ # Box URL
+ wp_config.vm.box_url = "http://files.vagrantup.com/precise32.box"
+
+ # Shared folder
+ wp_config.vm.share_folder "v-data", "www", "data", :owner => "www-data", :group => "www-data"
+
+ # Ports
+ wp_config.vm.forward_port 80, 8080
+
+ # Chef solo
+ wp_config.vm.provision :chef_solo do |chef|
+ chef.cookbooks_path = "./cookbooks"
+ chef.add_recipe "apt"
+ chef.add_recipe "build-essential"
+ chef.add_recipe "git"
+ chef.add_recipe "subversion"
+ chef.add_recipe "vim"
+ chef.add_recipe "apache2"
+ chef.add_recipe "mysql::server"
+ chef.add_recipe "php"
+ chef.add_recipe "openssl"
+ chef.add_recipe "wordpress"
+
+ chef.json = {
+ "mysql" => {
+ "server_root_password" => "vagrant",
+ "server_repl_password" => "vagrant",
+ "server_debian_password" => "vagrant"
+ },
+ "wordpress" => {
+ "dir" => "/home/vagrant/www"
+ }
+ }
+
+ end
+
+ end
+end
4 data/.gitignore
@@ -0,0 +1,4 @@
+# Ignore everything in this directory
+*
+# Except this file
+!.gitignore
Please sign in to comment.
Something went wrong with that request. Please try again.