• Hi I have been looking into VVV and VV for local development. I also use WPEngine as a hosting provider. I am wondering if anyone has been using this setup and if it works well enough for them for automating their deployment.

    I am trying to remove the amount of effort for our team by simplifying the workflow process. We work on numerous sites at a time and it’s a hassle every time we hop onto a project to help a team member.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator James Huff

    (@macmanx)

    I would suggest contacting WP Engine about that. The likelihood of finding a WP Engine customer here who uses VVV with their service is slim, whereas you could just reach out to WP Engine for a quick and correct answer. ??

    Yes. I use VVV and VV with WPEngine. Although I have just started using this setup on two sites. I have had no problems so far. Works like a charm. I attempted to use Mercury HGV which is supposed to more accurately simulate WPEngine’s stack, but that was more difficult to use, especially with multiple sites. And I called WPEngine, and they seemed to have no clue how to use it or set it up. So I switched back to VVV and I am glad I did. It is so much easier to quickly spin up a local site and it syncs up files and folders just fine. No problems so far.

    @lazerbrains how do you have your environment setup?

    I’m following their git push documentation and they have you download the entire stack, not just the theme folder. Do you just git clone right into the www/ directory in VVV?

    I want a seamless continuous integration setup. I find it strange they point you to a Smashing Magazine blog post on MAMP from 2011. I just can’t use MAMP.

    When you initially setup your local environment, you will need to create a backup from WPEngine and download it. You will then need to remove some specific files and move the contents into your local directory. You can find info to help you here:

    https://wpengine.com/git/

    Once you have a working directory it is a good idea to create a github/bitbucket repository to easily clone the repository moving forward and it makes it easier for other team members to spin theirs up. But you won’t be able to deply from that repository, you will always need to pull down to local and then push up to wp-engine in order to deploy. The following link might help you understand how the data flow works.

    https://wpengine.com/support/data-map/

    @lazerbrains I understand git workflows and WPEngine’s Git Push but I’m wondering what your local dev environment looks like.

    I’m very familiar with VVV, but when I drop in the entire directory WPEngine gives you in a VVV site root it doesn’t seem to work without an entire afternoon of troubleshooting.

    I guess my question is, why do they give you the entire site. Is there an option to just toss this into a local dev environment and be up and running.

    I’ve almost got my setup good to go so I’ll post back with how I did it.

    Thread Starter johnslay

    (@johnslay)

    Hey Guys,

    I never really got a chance to dig deep but one of the issues that kept bugging me was keeping the entire environment synced over devices. I was running into issues where I had to manually FTP the uploads folder over for larger sites, and then having to adjust all the media link references…

    So instead, I switched over to Pantheon and began using their Kalabox solution which uses docker and works out of the box. It’s really simple and makes working with multiple developers super simple. It’s also free to use!

    @foundationkevin The way we have been setting up our local environments. I use VVV and Variable VVV to make site setup quick and easy. You can find Variable VVV here: https://github.com/bradp/vv

    Once you have VVV and Variable VVV installed you can quickly and easily spin up a new site by using the “vv create” command in the terminal.

    Then in order to pull down your database and media files to your local environment, I use Migrate DB Pro plugin. It is a little expensive, but it is an awesome plugin and makes syncing multiple developers databases and media files super simple.
    https://deliciousbrains.com/wp-migrate-db-pro/

    Once you have those in place is is very simple to get new developers setup with a current database and media files.

    @lazerbrains I literally just finished doing this about an hour ago (VVV + VV). Rather than Migrate DB Pro I just ran an import using Sequel Pro , but I do have this plugin already and will be using it often.

    Since I have multiple installs, I went ahead and installed a simple dashboard gui: https://github.com/topdown/VVV-Dashboard

    So far it’s a nice setup; thanks for the update.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WPEngine with VVV and VV by bradp question’ is closed to new replies.