davidosomething / 16.davidosomething.com

davidosomething.com static site, 2016 version
https://davidosomething.com
12 stars 2 forks source link
blog handlebars metalsmith static-site systemjs

davidosomething.com for 2016

Greenkeeper badge

Static generated site for davidosomething.com

Upstream David dependency status Development Dependency Status Build Status

screenshot

Stack

Requires node >= 8.9.2 (I recommend using nvm, for which nvm use (or nvm install) will read .nvmrc and use the version of node specified there.

Install

Install dependencies:

npm install --global gulp jspm
npm install
jspm install

Note that gulp and jspm are only installed globally for local dev, whereas the CI-deployment uses npm run so the binaries in node_modules/.bin/ are in the path. You could technically use npm run ci-gulp-build if you don't want to install gulp globally.

Lint

Build

Deploy

There are npm scripts in package.json to build via CI.

Output is generated to public/ and, if running on master from Travis, the directory is deployed to surge.sh and the GitHub Pages repo.

Deployment from Travis CI is configured in bin/travis-deploy.sh.

TODO