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 required to build and deploy the website:
- GAUGES: Tracking code for Gauges.
- Install Ruby (if missing)
- Install gems :
bundle install --path .bundle
Make sure the aforementioned environment variables are available before generating the website.
- Build website:
bundle exec rake build
- Watch website for changes:
bundle exec rake guard
- Launch preview server:
bundle exec rake preview
Push to GitHub to deploy to GitHub Pages.
- Build:
GAUGES=<site-id> bundle exec rake build
(replace with Gauge’s site ID.) - Stage:
git add .
- Commit:
git commit -m "Build website for GitHub Pages"
- Deploy:
git push
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.