ideasonpurpose / basic-wordpress-vagrant

A fast, easy to use WordPress Vagrant environment modeled after managed WordPress hosting platforms like WP Engine and Flywheel.
MIT License
25 stars 3 forks source link

Add path to ~/.wp-cli/config.yml #30

Closed jgraup closed 8 years ago

jgraup commented 8 years ago

I may be still using an old version of this repo, but it would be nice to include the path in ~/.wp-cli/config.yml so you can type wp from anywhere after vagrant ssh.

~/.wp-cli/config.yml

path: /var/www/wordpress/

joemaller commented 8 years ago

Excellent point. I'll get that in there this week.

jgraup commented 8 years ago

Sweet!

joemaller commented 8 years ago

Turns out that was already there! Added to the base box back last November: https://github.com/ideasonpurpose/basic-wordpress-box/commit/1227debb001cd5e5b2126b7c4873a80f633934d0

It's using /vagrant/site as the path instead of the symlinked /var/www/wordpress, but it works the same.

If you upgrade now, please see the note in the Readme about problems with Vagrant 1.8.5 and VirtualBox 5.1. Should be resolved soon, but for now we need to hold off on using the latest releases.