Giter Site home page Giter Site logo

joshfry / assemble-bp Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 4.0 314 KB

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

Home Page: https://github.com/joshfry/generator-assemble-bp

Ruby 1.27% JavaScript 30.06% CSS 53.90% Handlebars 14.77%

assemble-bp's Introduction

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.

assemble-bp's People

Contributors

joshfry avatar

Stargazers

Roman avatar Ramesh avatar Bruno Gomes avatar Pascal Kuster avatar Kevin Garcia avatar Martin Holmin avatar Achim Sperling avatar  avatar Zsolt Fekete avatar Christoph Budjan avatar Andrew Stott avatar  avatar Ding Yi avatar Brian Woodward avatar Jon Schlinkert avatar

Watchers

 avatar James Cloos avatar

assemble-bp's Issues

Use calc() instead of multiple containers

// Instead of using multiple containers, just use the css calc() unit

img.full-bleed {
  display: block;

  @include media(max-width 599px) {
    max-width: none;
    width: -webkit-calc(100% + 3em);
    width: calc(100% + 3em);
    margin-left: -1.5em;
  }
}

Custom config

  • Rename site.yml to default-settings.yml
  • Make a custom-settings.yml file
  • Include both files in grunt.initConfig

This will allow default settings that can be overridden by the user

Visual Grid

It's possibile to show visual-grid of Bourboun Neat?

thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.