Guide for compiling a Web Development Environment on OS X.
CSS HTML Ruby ApacheConf JavaScript


Compiling a Web Development Environment on macOS


Instructions for compiling/installing your own web development environment in macOS; primary packages include:

  • Apache
  • Git
  • GraphicsMagick
  • Memcached
  • MongoDB
  • MySQL
  • Node.js
  • PHP
  • PostgreSQL
  • Redis
  • Ruby
  • SQLite

This website is built with Middleman.

Environment Variables

Environment variables required to build and deploy the website:

  • GAUGES: Tracking code for Gauges.
  • GOOGLE_ANALYTICS: Tracking code for Google Analytics.
  • RSYNC_USER: Username for deployment via rsync.
  • RSYNC_HOST: Hostname for deployment via rsync.
  • RSYNC_PATH: Pathname for deployment via rsync.


Make sure the aforementioned environment variables are available before generating the website.

  • Launch the preview server: rake preview
  • Build the website: rake build
  • Deploy the website: rake deploy


To add a message at the top of any page, add a frontmatter variable named message to any Markdown source file.

© Patrick Bougie. All Rights Reserved. Please do not reproduce without written consent.