wpscholar / vvv-skeleton
Setup a new WordPress project using Composer and VVV
Installs: 86
Dependents: 0
Suggesters: 0
Security: 0
Stars: 16
Watchers: 3
Forks: 2
Open Issues: 1
Type:project
Requires
- composer/installers: @stable
- johnpbloch/wordpress: @stable
This package is auto-updated.
Last update: 2024-11-28 23:23:37 UTC
README
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
www
directory within VVV via the command line - Run
composer create-project wpscholar/vvv-skeleton
or rungit clone https://github.com/wpscholar/vvv-skeleton.git
- Run
vagrant status
to 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 ssh
from the project root to access the command line for your VVV instance. - From the project root, run
replace wp.dev mydomain.com
wheremydomain.com
is 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