Zero: A Minimal Static HTML Engine
Output a static site with Gulp, inspired by Considering a Static Site Tool? Learn Gulp.
- Pages and partials using Swig
- Sass/Compass compilation
- Preview server with Browsersync CSS injection and auto-reloaad
- Watch processes recompiles HTML and static assets
- Everything is compiled into the
Install gulp dependencies:
In a terminal window run:
And it should open your browser to http://localhost:3000. This displays the flat-file content of the
If you're unable to run npm install without errors try running the following as you may have a permissions issue. Taken from solution to NPM throws error without sudo.
sudo chown -R `whoami` ~/.npm