Giter Club home page Giter Club logo

style-guide's Introduction

Harrow.io Style Guide

This is inspired by Bootstrap and is meant to be a starting point and collection of base styles to be used by all Harrow web projects.

Build Process

Reusable Assets

The ./dist/ directory is maintained by Grunt, which can be installed thusly:

$ npm install
$ grunt

Changes to assets and resources will be displayed in the controlling terminal, and will be always kept copied to dist/.

Jekyll Style Guide

The styleguide is build with Jekyll, you shouldn't start the Jekyll server manually, but rather via Guard, where LiveReload is also included

Documentation

Documentation is a Jekyll site that is publicly hosted at http://prismskylabs.github.io/style-guide. The styleguide may also be run locally by starting Grunt and Guard side by side.

Quick Start

Open your favorite terminak multiplexor, and start two shells:

$ npm install $ cd docs/ $ grunt $ bundle install $ bundle exec guard

See below for the relationship between the components.

Grunt

  1. Grunt runs from the root directory, install it with npm install, and then simply run grunt [default].
  2. Grunt builds and maintains the ./dist/ directory.
  3. Grunt also watches the ./dist/sass/ directory, and uses that to touch ./docs/styles, this is in Grunt task touch:docsStyles, available on the CLI, and triggered based on a watch defined in Gruntfile.js.

Guard

Guard is used to run Jekyll via guard-jekyll-plus, whilst also running LiveReload. If you don't want to use LiveReload, simply:

$ cd docs/
$ bundle install
$ jekyll serve

To use LiveReload, you must use bundle exec guard in the ./docs directory, this starts both Jekyll and LiveReload servers.

style-guide's People

Contributors

leehambley avatar mfogel avatar

Watchers

 avatar  avatar

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.