My boilerplate setup for sites built with the Harp static generator. Gives you an extensible Bootstrap setup, RSCSS, BrowserSync and a production workflow. Uses Jade by default, but Harp is pretty flexible about templating.
-
If you have Harp installed globally, you can use this repo as a boilerplate by running:
harp init --boilerplate rogerhutchings/hb-rog
If not, clone the repo into a new directory.
-
Install the dependencies by running
npm install
. -
Kick off the local development server by running
npm start
. -
Compile the site for deployment with
npm run build
. -
Optionally add in deployment code in the gulp
deploy.js
task, and run withnpm run deploy
. There's a boilerplate S3 deploy task there already, which can be configured ingulp/config.js
.
MIT licence - go nuts.