Skip to content

The mutant combination of Grunt.js and Eleventy currently powering zachleat.com

Notifications You must be signed in to change notification settings

mathiasbynens/zachleat.com

 
 

Repository files navigation

Local Development Setup

Prerequisites: Node.js and Ruby

  1. Apache Configuration

     <VirtualHost *>
     ServerName zachleat.localhost
     DocumentRoot "/PATH_TO_SITE/"
     Alias /web/ /PATH_TO_SITE/web/_site/
     </virtualHost>
    
  2. Add to /etc/hosts

     127.0.0.1	zachleat.localhost
    
  3. gem install sass

  4. npm install

  5. grunt

Local Development Workflow

  1. grunt watch
  2. Open http://zachleat.localhost/

To install new local npm packages, use npm install PACKAGE_NAME --save-dev

Deploy

  1. grunt deploy

The deploy task requires zopfli, which can be installed using:

  1. brew install zopfli

Notes

About

The mutant combination of Grunt.js and Eleventy currently powering zachleat.com

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 52.6%
  • JavaScript 34.7%
  • CSS 7.9%
  • PHP 3.1%
  • Liquid 1.7%