Guide for compiling a Web Development Environment on OS X.
HTML Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
source Update versions Aug 14, 2018
.gitignore Remove Gemfile.lock from repository Sep 8, 2015
Gemfile Remove Sprockets 4 Sep 28, 2017
Guardfile Add Guardfile Oct 4, 2015
README.md Update README Mar 19, 2018
Rakefile Refactor Rakefile Jan 29, 2017
config.rb Refactor HTML Mar 19, 2018
config.ru Bundler setup for use with Pow. Mar 10, 2013

README.md

Compiling a Web Development Environment on macOS

Overview

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

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

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

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.