Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to sync your MAMP install across multiple Macs

I have MAMP set up on my iMac and on my Macbook. I want to keep both installs synced using dropbox. When upgrading MAMP the only 2 folders you need to transfer are 'db' & 'htdocs'. My theory is then that these are the only 2 folders I need to keep in sync. Sound right to you so far?

Syncing the 'htdocs' folder is easy as you can put it in your dropbox and point the MAMP preferences to the dropbox folder, but the 'db' folder has no such option.

Any suggestions on how I could keep the 'db' folder synced? Thanks.

like image 578
portalpie Avatar asked Nov 26 '08 12:11

portalpie


People also ask

Can you sync two Macs?

Can I sync files between two Macs? Yes, you can sync your files between two Macs. To do that, use a dedicated app. Solutions like iCloud, Dropshare, Google Drive will be most suitable if you are looking for an answer to the question, How do I share files between two Macs using cloud storage?

Is MAMP for Mac free?

MAMP is a free, local server environment that can be installed under macOS and Windows with just a few clicks.

Where is MAMP on Mac?

Once the download has completed, go to your Downloads folder and double-click on the package file to start the installation. Follow the instructions to install MAMP. In your Applications folder you should see: A folder called MAMP, which contains a free version of MAMP.

Do I need MAMP pro?

The free version of MAMP is a good option for WordPress development if you need a simple solution. However, if you require more options like setting up SSL certificates, email testing, dynamic DNS, or the ability to run multiple programming languages, MAMP Pro is the way to go.


2 Answers

An easy way to create the symlink for MAMP's "db" folder without having to use Terminal is to use a Mac OS X service called SymbolicLinker, as explained here: http://www.stucktogetherwithtape.com/blog/2009/12/sync-web-dev-with-mamp-and-dropbox/

like image 80
nachomaans Avatar answered Oct 05 '22 01:10

nachomaans


What I ended up doing was putting my hotdocs folder into my dropbox and changing the path in MAMP to the dropbox version. I than asked a friend to set up a few mysql remote databases for me. This combination has been working great. I have to use Sequel Pro to access the database which is a nice app. I was originally hoping to use phpmyadmin or learn the terminal but those features were not available on my mates server. Hope this helps someone else.

Dropbox has such a small lag too that I have even found myself coding on one comp and refreshing on another comp. Dropbox is worth finding uses for.

like image 33
portalpie Avatar answered Oct 05 '22 02:10

portalpie