HTML CSS JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_layouts
css
img
js
scss
.gitignore
CNAME
Gruntfile.js
README.md
about.html
favicon.ico
index.html
package.json
robots.txt

README.md

Personal website

Code for my personal site www.harrymt.com.

Setup & Build

  • Install NodeJS
  • Then type in npm install to install GruntJS and all dependancies
  • Simply type grunt to build the site
  • Then type grunt serve and view the site at http://localhost:9000

Uses

Gruntfile.js

The following Grunt tasks are used they can be found here.

  grunt.loadNpmTasks('grunt-contrib-htmlmin'); // Minify HTML
  grunt.loadNpmTasks('grunt-contrib-concat'); // Concatenate JS
  grunt.loadNpmTasks('grunt-contrib-uglify'); // Minify JS
  grunt.loadNpmTasks('grunt-contrib-sass'); // Process Sass files
  grunt.loadNpmTasks('grunt-contrib-watch'); // On file update, do task
  grunt.loadNpmTasks('grunt-processhtml'); // Inline JS & CSS
  grunt.loadNpmTasks('grunt-serve'); // Local server