Development is handled by Vagrant in Trellis. Our
Vagrantfile automatically uses the Ansible provisioner to run the
dev.yml playbook and you'll get a virtual machine running your WordPress site.
- Configure your site(s) based on the WordPress Sites docs and read the development specific ones.
- Make sure you've edited both
Then let Vagrant and Ansible do their thing. After roughly 5-10 minutes you'll have a server running and a WordPress site automatically installed and configured.
To access the VM, run
vagrant ssh. Sites can be found at
/srv/www/<site name>. See the Vagrant docs for more commands.
Note that each WP site you configured is synced between your local machine (the host) and the Vagrant VM. Any changes made on your host will be synced to the VM.
Windows users have a slightly different workflow. See the docs.