vvv-skeleton
vvv-skeleton copied to clipboard
Setup a new WordPress project using Composer and VVV
VVV Skeleton
Requirements
- Install VirtualBox
- Install Vagrant
- Install the Vagrant Hosts Updater plugin by running
vagrant plugin install vagrant-hostsupdater - Install the Vagrant Triggers plugin by running
vagrant plugin install vagrant-triggers - Clone VVV
- Install Composer (optional)
Installation
- Navigate to the
wwwdirectory within VVV via the command line - Run
composer create-project wpscholar/vvv-skeletonor rungit clone https://github.com/wpscholar/vvv-skeleton.git - Run
vagrant statusto determine if the VVV instance is running- If the VVV instance IS NOT running, run
vagrant up --provision. - If the VVV instance IS running, run
vagrant reload --provision.
- If the VVV instance IS NOT running, run
Usage
As Is
Once your VVV instance has been (re)provisioned, simply visit wp.dev in your favorite browser.
Setting a Custom Domain
- Make sure your VVV instance is running
- Run
vagrant sshfrom the project root to access the command line for your VVV instance. - From the project root, run
replace wp.dev mydomain.comwheremydomain.comis your desired domain. - Re-provision by following step three from the Installation section.
Default Credentials
MySQL Database
- Database Name -- wp
- Database User -- root
- Database Password -- root