Skip to content

h5bp/html5boilerplate.com

Repository files navigation

The HTML5 Boilerplate website is a simple static site:

  • The development code is in the src/ directory.
  • The build process relies on gulp.
  • The gulp tasks can be found in the gulpfile.js file.

Setup

  1. Install Node.js and npm.
  2. Run npm install.

Development

You should be able to work almost entirely in the src/ directory.

While developing run npm run serve as this will open the website in your default browser and automatically update it whenever changes are made to the page or any of the files contained in the page.

Build

When you have finished your changes, make sure that the distribution package is correct by running npm run test and then checking the output.

The site is served directly from the docs/ directory.