Total Pageviews

Sunday, 15 May 2016


Installing Development environment on Mac OS X

Mac OS X Setup Guide

This book covers the basics of setting up a development environment on a new MacBook for most major languages. All instructions covered have been tested on Mountain Lion and Mavericks, but they might be more inclined towards Mavericks. Whether you are an experienced programmer or not, this book is intended for everyone to use as a reference when installing some languages/libraries.
We will set up Node (JavaScript), Python, CPlusPlus, and Ruby environments. Even if you don't program in all four, it is good to have them, as many command-line tools use one of them. We also install a few daily use applications and Latex. As you read and follow these steps, feel free to send me any feedback or comments you may have.
All contributions to the book are welcome. Please help add support for other libraries and languages.
Looking for contributors to maintain and extend the documentation more
Note: This book has been generated using GitBook and is open source, feel free to contribute or signal issues on GitHub.


Compiling a Web Development Environment on Mac OS X

Guide for compiling a Web Development Environment on OS X. 


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.


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


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