Skip to content
source
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
dev
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

majodev.github.io

as hosted on mranftl.com

Prerequisites

  • node (node v0.10.44 (npm v2.15.0))
  • grunt (npm install -g grunt-cli)

Install

  git clone https://github.com/majodev/majodev.github.io.git
  cd majodev.github.io
  npm install -d
  # grunt init # this step is no longer required.

Build dev

features: debug mode with drafts and source maps (+ custom Modernizr and lodash builds)

  grunt

grunt is now watching for changes and runs a webserver on localhost:8080.

Build productive

features: concat & compress all js/css/html/xml files and start a gzip server (if confirmed publish to gh-pages)

  grunt productive

Publish

shortcut to build productive + publish on gh-pages

  grunt publish

Minor manual tasks

These tasks must be run manually.

Run gzip server with emulated delay

  grunt serverdelay

Minify all images

Important: overwrites every image found in src and support.

  grunt imagemin

Rebuild favicons

Important: needs imagemagick in PATH

  grunt fav

Check for 404 links

Important: needs capsperjs installed globally!

  npm install -g casperjs #install casperjs globally
  grunt linkcheck

Rebuild cv image

Important: Needs to be run on a Mac with working MacTeX installation. Uses fonts and sips from the Apple ecosystem.

  grunt shell:cv

License

See LICENSE.md for detailed information

About

Mario Ranftl's site

Resources

License

Releases

No releases published

Packages

No packages published