Soph: I’m gonna give you a juicy kiss!1
Soph: I had a lot of spit.
1. Up until a few months ago, Soph wouldn’t give out kisses. If you asked for one, she’d offer you her cheek. (It’s clear she’s already figured out exactly who holds the power in this equation.)
I finally upgraded my office machine to OS X Mavericks, and as a result had to reconfigure both Apache and MySQL.
This post covers most of the relevant info for dealing with Apache: remapping your default web directory, enabling PHP. This post deals with setting index.php as a default document if a directory is requested.
MySQL was a bit trickier. I had installed it using Homebrew, so I had to uninstall MySQL, upgrade Homebrew, and then reinstall MySQL.
One random note: Launchbar’s ClipMerge feature stopped working, and it turns out that was because Mavericks resets the Accessibility options. I had to go to System Preferences > Security & Privacy > Accessibility and allow Launchbar to control my computer.
At Bluecadet we like to review responsive prototypes and site builds using real devices. One of the tools we use is Adobe Edge Inspect, and it’s always worked well for previewing sites on public URLs. We happen to do a lot of development on our local machines, however, and we’ve never been able to load those via Edge Inspect. Despite the cryptic “Localhost Support” in the product bullet points, we couldn’t find much documentation out there on how to actually do that.
This blog post is old (it still refers to Edge Inspect as “Shadow”) but proved to be extremely helpful. The missing piece turned out to be xip.io, which allows you to map an IP address to a domain name. That domain name gets added as a ServerAlias entry in my Apache virtual hosts config:
So now when I browse using Chrome to the xip.io url the connected devices can load the site running off my local server, provided all the devices are connected to the same local network.