Getting Started
Usage
1. Install Virtualbox
Download the VirtualBox form www.virtualbox.org and install.
2. Install Vagrant
Download the Vagrant form www.vagrantup.com and install.
3. Download Ansible playbooks of the VAW
Download a Vagrantfile and Ansible playbooks from the following link.
4. Generate SSL certificate files using mkcert
Install mkcert. See https://github.com/FiloSottile/mkcert
cd vaw-x.x.x
mkcert -install
mkdir mkcert
mkcert -cert-file ./mkcert/cert.pem -key-file ./mkcert/privkey.pem <vm_hostname>
5. Launch a virtual environment
cd vaw-x.x.x
vagrant up
If you don’t have a Box at first, begins from the download of Box. After provisioning, you can launch a WordPress development environment.
Note: Passwordless for Vagrant::Hostsupdater. See Suppressing prompts for elevating privileges
6. Access to the website and the WordPress Admin
Access to the website http://vaw.local/. Access to the WordPress admin http://vaw.local/wp-admin/.
7. Access to a Vagrant machine via SSH
vagrant ssh
Or using ssh config.
vagrant ssh-config > ssh_config.cache
ssh -F ssh_config.cache default