/mac-dev-env

Guide for compiling a Web Development Environment on OS X.

Primary LanguageCSS

Overview

Instructions for compiling/installing your own web development environment in OS X; 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.

Rake

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
  • Build and Deploy the website: rake release

Message

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.