Skip to content
This repository has been archived by the owner on Apr 1, 2021. It is now read-only.
/ assemble-bp Public archive

Renamed "boilerplate" to "assemble-bp" to keep consistent with Yeoman generator.

Notifications You must be signed in to change notification settings

joshfry/assemble-bp

Repository files navigation

Boilerplate

A front-end tool for generating static sites with Grunt, Assemble, Bower, Sass, Bourbon, Bourbon Neat and Bourbon Bitters.

This is my personal starting point for new projects... totally meant to be customized.

Requirements

Ubuntu Users

One-time Setup

$ rake init
  • Installs Grunt CLI
  • Installs Bower CLI

Install

$ rake
  • Installs Ruby Gems to /vendor/ruby
  • Installs Bower packages to /vendor/bower
  • Installs npm modules to /node_modules

Grunt commands

Development

$ grunt dev

Production

$ grunt build

To view production build:

$ grunt p

If you get an error after running $ grunt dev that says EMFILE: too many open files,
add ulimit -n 9999 to your .bash_profile.


What's goin' on here?

Grunt: Automation

Development tasks

  • Local server @ http://localhost:8000
  • Watch task
  • Livereload (without browser extension)
  • Sass compiling
  • JS concatenation
  • JS hinting
  • Assemble, for static site generation
  • Clean and Copy commands
  • Outputs to dist/ directory

Production tasks

  • Image compression
  • Concatenate and minify linked files
  • Outputs to build/ directory

Bower: Package manager

Default packages

Install new packages

$ bower install <git repo> --save

--save adds the package to bower.json so that when $ bower install is run, the package will be installed.

About

Renamed "boilerplate" to "assemble-bp" to keep consistent with Yeoman generator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published