This site used the yeoman gulp-webapp generator. It uses bootstrap-sass for css and nunjucks for html templating.
- Install node & npm
- Install bower
cdinto the webapp directorynpm install && bower installwill install all the node and bower modules needed locally for development.gulp serveto view website locally
The html templates use nunjucks. The main html file is layouts/default.html. The example pages use the project.html layout template.
gulp serveto develop locallygulp buildto build the production sitegulp --tasksto see all gulp tasks
Site is deployed via Github pages. The gh-pages branch contains the live site. To push to the live site:
gulp build(this will create dist folder with site contents)git add *(need to commit dist folder changes to master)git commit -m 'update dist'git subtree push --prefix dist origin gh-pages(push dist folder to gh-pages)