Open aquillano opened 8 years ago
I don't have a strong preference for either solution. I'm comfortable with both options. Creating a personal access token on github.com may potentially have additional benefits later but it will be an additional (one-time) step for newbies, too. A Makefile provides potentially more customization down the road but is a more traditional approach and may require installation of CLI dev tools (autoconf, etc?).
I'd say flip a coin or just choose one if there aren't any more opinions in the next day or so.
To your point, instead of using make
, we could just use a new setup.sh
script to kick things off.
This is specifically a problem for us when trying to clone our decaturmakers.org repo. It happens because the vagrant provisioning process runs as root and doesn't have access to a forwarded SSH agent (During
vagrant ssh
, SSH agent forwarding does work, but that doesn't help us here). I have two solutions to the problem and thought this would be a good place to discuss, debate and decide on which solution we'd like to use.vvv-init.sh
script clonedecaturmakers.org
via HTTPS (using the personal access token) for authentication.vvv-init.sh
scriptMakefile
to clone thedecaturmakers.org
repo on the host machine and then run the initialvagrant up
. In this scenario thevvv-init.sh
script would basically just do the automated WP installs using thewp-cli
.make