TITLE is built using Gulp, Handlebars.js, and SCSS.
Install npm. Then, install gulp:
npm install -g gulp # May require `sudo`
npm install
gem install scss_lint
gulp serve
An overview of Gulp commands available:
Builds the site into the dist directory. This includes:
- SCSS w/ linting, sourcemaps and autoprefixing
- JS linting and uglification
- Handlebars to HTML
This is used for distributing an optimized version of the site (for deployment). It includes everything from gulp build as well as:
- SCSS minification
- CSS / JS inline-sourcing
Watchs for changes in local files and rebuilds parts of the site as necessary, into the dist directory.
Runs gulp watch in the background, and serves the dist directory at localhost:3000 with automatic reloading using Browsersync.
For use by the Minimill team only. Deploys to work.minimill.co/TITLE/, but won't do so without proper authentication.
βββ Gulpfile.js # Controls Gulp, used for building the website
βββ README.md # This file
βββ data.yml # Metadata associated with the site.
βββ dist/ # Gulp builds the static site into this directory
βββ package.json # Dependencies
βββ src/ # All source code
βββ font/ # Font files
βββ img/ # Images and SVGs
βββ js/ # Javascript libraries and scripts
βββ partials/ # Handlebars HTML partials that are included / extended
βββ sass/ # Stylesheets
βββ templates/ # Handlebars HTML files, one per page on the site.