Sharing MAMP between Two Computers

I use MAMP (mamp.info) as a local server setup on my Mac for developing web apps. My primary setup is a Mac Mini, but I also use a Macbook Pro for when I’m in a client’s office or working remotely. To keep the two in sync, I use Dropbox. This is straight-forward for documents and html/php files, but a bit more complicated for syncing databases between the two machines.

To sync the web files, I simply moved the htdocs folder from the MAMP folder to the Dropbox folder. In the MAMP app preferences, I changed the Document Root for the web server to point to the folder in Dropbox.

To sync the database files, I moved the ‘db’ folder to the Dropbox folder. I then created a Symbolic Link from the folder in Dropbox to the original location in the MAMP folder. This is done using the ‘ln’ command at the command prompt. In my case, the following command did the job:

ln -s /Users/stuart/Dropbox/MAMP/db/ /Applications/MAMP/

You should be able to edit this to suit your setup.

ShowFit Plugin Updated

Time:
05-Sep-20 10:36 am
Duration:
01:42:53
Distance:
23.64 km

I’ve just updated our WordPress Plugin for embedding Garmin .fit data files in your blog. The latest update improves the speed of rendering the maps and reduces the amount of data your blog downloads from external sites.

The latest version of the plugin can be downloaded from http://yellowfield.co.uk/downloads/showfit.zip, or from our GitHub repository https://github.com/tevendale/ShowFitFile

For details of the plugin, see our original blog post

If you’ve got any questions about this plugin or about getting your own plugin developed, please get in touch.