alexc7018 / vvv-site-wizard

Automates setting up new WordPress sites in Varying Vagrant Vagrants
GNU General Public License v2.0
346 stars 47 forks source link

Alternative installation #32

Open jonathantneal opened 9 years ago

jonathantneal commented 9 years ago

As an enhancement, the installation instructions could alternatively mention:

curl -s https://raw.githubusercontent.com/aliso/vvv-site-wizard/develop/vvv > /usr/local/bin/vvv; chmod +x /usr/local/bin/vvv

This moves vvv into the local bin with permission to be executed from anywhere.

chriswgerber commented 9 years ago

I like the idea, though I think it might be bad form to store the script directly inside of the bin folder. I would lean towards storing in /usr/local/opt/and symlinking to bin:

cd /usr/local/opt/; git clone git@github.com:aliso/vvv-site-wizard.git; chmod +x vvv-site-wizard/vvv; cd /usr/local/bin/; ln -s vvv /usr/local/opt/vvv-site-wizard/vvv;
bradp commented 9 years ago

I'd suggest checking out VV, you can easily install with brew or by putting it anywhere in your path.