This is a Vagrant configuration designed for development of WordPress plugins, themes, or websites.
To get started, check out http://vccw.cc/
- Copy
provision/default.ymltosite.yml. - Edit the
site.yml. - Run
vagrant up.
- The
site.ymlhas to be in the same directory with Vagrantfile. - You can put just difference to the
site.yml.
- Clone this git repository on your local machine.
- Run
bundle installto fetch all dependencies.
There is automated tests using Serverspec.
The tests files are in the spec/ directory.
Before running the serverspec tests, you'll need some dependencies.
$ bundle install --path=vendor/bundle
Then to run the tests, just execute following.
$ bundle exec rake spec