Giter Site home page Giter Site logo

nib-pattern-library's Introduction

nib-pattern-library

Production (production branch)

This is the pattern library for the web at nib. View online. You can also check the current deployment status.

Staging (master branch)

Staging environment. View online. You can also check the current deployment status.

Prerequisites

Required software:

Installation

  1. Open a command prompt

  2. Clone from Github - git clone https://github.com/nib-pattern-library/nib-pattern-library.git

  3. Change the current directory - cd nib-pattern-library

  4. Install node modules - npm install

  5. Authorise component to access the Github API by creating a token and adding it to your ~/.netrc file.

    machine api.github.com login password x-oauth-basic

Building

  1. Run npm run build
  2. Open build/index.html

Editing

  1. Get the latest code git pull
  2. Run npm run watch
  3. Open build/index.html
  4. Edit content in the content directory, templates in the templates directory or JavaScript and styles in the components directory.
  5. Refresh the page
  6. Commit your changes git add -A && git commit -am "msg describing changes"
  7. Share your changes git push

The templating language used is EJS.

nib-pattern-library's People

Contributors

thd avatar cl0sey avatar motecreative avatar jameslnewell avatar benjaminwilliams avatar

Watchers

James Cloos 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.