An over-engineered microsite intended to demonstrate code style and file organization for scalable applications built with static site generators. Based off Playbook, a Yeoman generator for rapidly building interfaces. Jekyll is included for static site generation. Bourbon and Neat are included to assist in writing CSS faster. Grunt is used for compilation of Sass. Bower is used for managing dependencies.
Areas of interest include:
- UI components:
app/index.htmlandapp/includes/component/neighborhood.html - Module-based Javascript architecture:
app/scripts - Efficient Sass:
app/styles/base/component/_hero.scss
Content is based on neighborhoods in Seoul, Korea. This repository is web-accessible at http://derekblank.github.io/seoul/.
If you do not have Node.js >=0.10, Yeoman >=1.1.2, Ruby >=1.9 and the Bundler gem installed, you must do that first. Once you have installed these dependencies, you may:
- Clone this repository
- Run
npm installto install node packages. - Run
bower installto install third-party frameworks, plugins, and dependencies. - Run
bundle installto intall necessary gems. - Run
grunt serveto initialize a local dev environment.
Serve your source locally into your browser. LiveReload will automatically load any changes to HTML, CSS and JavaScript that you make.
Build the concatenated, minified production version of the source into the dist directory.
Deploy the production version of the source to GitHub Pages via grunt-build-control.