How to sync Localhost development across multipul machines using MAMP and Dropbox
Why Stack Overflow recommends it
Stack Overflow users link it as a reference example when asking about or describing syncing MAMP databases and site files between machines via Dropbox.
Recommended by 0 people across 0 different months, 2014 to 2017.
What it is
A short screencast from 2014 showing how to sync a local MAMP development environment across multiple Macs by symlinking the MAMP MySQL database folder into Dropbox. The presenter gives the Terminal commands and later adds a note recommending Git and WP Sync DB instead.
What people said
Cites tigre · 2014-06 · Stack Overflow · on “Why are MAMP virtual hosts working on my laptop but not my new iMac?”
I have two Macs (Macbook Air & iMac) and want to use Dropbox as the source for local website files and their corresponding databases. I setup the databases following these instructions [this video] ( text version here [LINK] ), moved the website files to Dropbox and synced the contents on both devices. I've ensured that the correct files are in place as per virtual host instructions for MAMP, such as: added the domains to my hosts file at /etc/hosts uncommented the httpd.conf to include httpd-vhosts.conf added the ServerName and DocumentRoot like I'm supposed to (even changing out my user name in the path) My laptop (the original computer where the sites were developed) works fine with the migrat
Cites Xav · 2015-07 · Stack Overflow · on “Syncing MAMP PRO 3 databases over Dropbox?”
There are various [LINK] articles [this video] on syncing MAMP Pro databases across computers with Dropbox, but none of them seem to work for me on MAMP Pro 3. I can sync site files fine, but servers and databases seem out of reach. I'm on Mac OS X Yosemite on both desktop and laptop, using MAMP Pro 3 and Dropbox. Has anybody managed to work this out yet?
Cites shmuli · 2017-10 · Stack Overflow · on “WordPress Localhost”
If you specifically want to have the same set of files running on your own local servers you can broadcast your localhost through a secure tunnel which the second developer can connect into. You can also develop inside a Dropbox folder on your local machine and share the folder. I've seen this a lot. Here's an example of how this it's done: [this video] . The most preferred way to collaborate with another developer and work on a project simultaneously, is to use a distributed version control system like Git/GitHub. I'd recommend looking into that.