Skip to content

Commit 6e10b68

Browse files
committed
added dev installation instructions, usage, logo, ecosystem mention, community, support, and license sections
1 parent dac6817 commit 6e10b68

File tree

2 files changed

+79
-22
lines changed

2 files changed

+79
-22
lines changed

README.md

Lines changed: 73 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,98 @@
1+
![Pattern Lab Logo](patternlab.svg)
2+
13
[![Build Status](https://travis-ci.org/pattern-lab/patternlab-node.svg?branch=master)](https://travis-ci.org/pattern-lab/patternlab-node) ![current release](https://img.shields.io/github/release/pattern-lab/patternlab-node.svg) ![license](https://img.shields.io/github/license/pattern-lab/patternlab-node.svg) [![Join the chat at Gitter](https://badges.gitter.im/pattern-lab/node.svg)](https://gitter.im/pattern-lab/node)
24

35
# Pattern Lab Node Core
46

5-
This repository contains the core functionality for Pattern Lab Node. Pattern Lab Core is designed to be included as a dependency within [Node Editions](https://github.com/pattern-lab?utf8=%E2%9C%93&query=edition-node).
6-
If this looks **REALLY DIFFERENT** from what you expected, check out the [ChangeLog](https://github.com/pattern-lab/patternlab-node/wiki/ChangeLog).
7+
This repository contains the core functionality for Pattern Lab Node. Pattern Lab helps you and your team build thoughtful, pattern-driven user interfaces using atomic design principles.
8+
9+
[Online Demo of Pattern Lab Output](http://demo.patternlab.io/)
10+
11+
## Installation
12+
13+
Pattern Lab Node Core is designed to be consumed, and by default is included as a dependency within two example [Node Editions](https://github.com/pattern-lab?utf8=%E2%9C%93&query=edition-node).
14+
715

816
* [Pattern Lab/Node: Gulp Edition](https://github.com/pattern-lab/edition-node-gulp) contains info how to get started within a Gulp task running environment.
917
* [Pattern Lab/Node: Grunt Edition](https://github.com/pattern-lab/edition-node-grunt) contains info how to get started within a Grunt task running environment.
1018

11-
## Core Team
19+
![Pattern Lab Ecosystem](http://patternlab.io/assets/pattern-lab-2-image_18-large-opt.png)
1220

13-
* [@bmuenzenmeyer](https://github.com/bmuenzenmeyer) - Lead Maintainer
14-
* [@geoffp](https://github.com/geoffp) - Core Contributor
15-
* [@raphaelokon](https://github.com/raphaelokon) - CLI Contributor
16-
* [@tburny](https://github.com/tburny) - Core Contributor
21+
Core, and Editions, are part of the [Pattern Lab Ecosystem](http://patternlab.io/docs/advanced-ecosystem-overview.html). With this architecture, we encourage people to write and maintain their own editions.
22+
23+
## Usage
24+
25+
``` javascript
26+
const config = require('./patternlab-config.json');
27+
const patternlab = require('patternlab-node')(config);
28+
patternlab.build(doneCallBack, boolCleanOutputDir);
29+
```
30+
31+
* Read more about configuration via `patternlab-config.json`: https://github.com/pattern-lab/patternlab-node/wiki/Configuration
32+
* The rest of the [api / command line interface](https://github.com/pattern-lab/patternlab-node/wiki/Command-Line-Interface) is documented in the wiki, and already implemented for you within [Node Editions](https://github.com/pattern-lab?utf8=%E2%9C%93&query=edition-node).
33+
A [full-featured command line interface](https://github.com/pattern-lab/patternlab-node-cli) is in the works, courtesy of [@raphaelokon](https://github.com/raphaelokon).
34+
35+
36+
## Development Installation / Workflow
37+
38+
If you are interested in [contributing to Pattern Lab](https://github.com/pattern-lab/patternlab-node/blob/master/.github/CONTRIBUTING.md), it's suggested to install an Edition of your choice and then run a local copy of this repository via [`npm link`](https://docs.npmjs.com/cli/link).
39+
40+
``` bash
41+
mkdir /patternlab-node
42+
cd /patternlab-node
43+
git clone https://github.com/pattern-lab/patternlab-node.git
44+
npm install
45+
npm link
46+
cd location/of/edition
47+
npm link patternlab-node
48+
```
49+
50+
The above is a bit verbose, but illustrates:
51+
52+
1. how to clone this repository to an arbitrary location
53+
2. install all dependencies (run `npm install --dev` if your NODE_ENV is production for some reason)
54+
3. setup the `npm link` to your local copy
55+
4. use the local copy of patternlab-node in your edition
56+
57+
> Make sure to change to whichever branch you intend to hack on or test within your cloned repository, such as `dev` or `bugfix/fixes-broken-unittest`
1758
1859
## Upgrading
1960

2061
If you find yourself here and are looking to upgrade, check out how to upgrade from version to version of Pattern Lab Node here: [https://github.com/pattern-lab/patternlab-node/wiki/Upgrading](https://github.com/pattern-lab/patternlab-node/wiki/Upgrading)
2162

22-
## Command Line Interface
23-
24-
The rudimentary [command line interface](https://github.com/pattern-lab/patternlab-node/wiki/Command-Line-Interface) is documented in the wiki, and already implemented for you within [Node Editions](https://github.com/pattern-lab?utf8=%E2%9C%93&query=edition-node).
25-
A [full-featured command line interface](https://github.com/pattern-lab/patternlab-node-cli) is in the works, courtesy of [@raphaelokon](https://github.com/raphaelokon).
63+
View the [ChangeLog](https://github.com/pattern-lab/patternlab-node/wiki/ChangeLog) for the latest Pattern Lab Node updates.
2664

2765
## Contributing
2866

2967
If you'd like to contribute to Pattern Lab Node, please do so! There is always a lot of ground to cover and something for your wheelhouse.
3068

31-
No pull request is too small. Check out any [up for grabs issues](https://github.com/pattern-lab/patternlab-node/labels/help%20wanted%20%2F%20up%20for%20grabs) as a good way to get your feet wet, or add some more unit tests.
69+
Please read the guidelines: https://github.com/pattern-lab/patternlab-node/blob/master/.github/CONTRIBUTING.md
3270

33-
## Guidelines
34-
1. Please keep your pull requests concise and limited to **ONE** substantive change at a time. This makes reviewing and testing so much easier.
35-
2. _ALWAYS_ submit pull requests against the [dev branch](https://github.com/pattern-lab/patternlab-node/tree/dev). If this does not occur, I will first, try to redirect you gently, second, port over your contribution manually if time allows, and/or third, close your pull request. If you have a major feature to stabilize over time, talk to @bmuenzenmeyer about making a dedicated `feature-branch`
36-
3. If you can, add some unit tests using the existing patterns in the `./test` directory
37-
4. To help hack on core from an edition, read [this wiki page](https://github.com/pattern-lab/patternlab-node/wiki/Running-an-Edition-Against-Local-Core)
3871

39-
## Coding style
40-
Two files combine within the project to define and maintain our coding style.
72+
## Core Team
4173

42-
* The `.editorconfig` controls spaces / tabs within supported editors. Check out their [site](http://editorconfig.org/).
43-
* The `.eslintrc` defines our javascript standards. Some editors will evaluate this real-time - otherwise it's run using `grunt|gulp build`
74+
* [@bmuenzenmeyer](https://github.com/bmuenzenmeyer) - Lead Maintainer
75+
* [@geoffp](https://github.com/geoffp) - Core Contributor
76+
* [@raphaelokon](https://github.com/raphaelokon) - CLI Contributor
77+
* [@tburny](https://github.com/tburny) - Core Contributor
4478

45-
## Gitter
79+
## Community
4680

4781
The Pattern Lab Node team uses [our gitter.im channel, pattern-lab/node](https://gitter.im/pattern-lab/node) to keep in sync, share updates, and talk shop. Please stop by to say hello or as a first place to turn if stuck. Other channels in the Pattern Lab organization can be found on gitter too.
82+
83+
There is also a dedicated Pattern Lab channel on the [design system slack](designsystems.herokuapp.com) run by [@jina](https://twitter.com/jina).
84+
85+
Ask or answer Pattern Lab questions on Stack Overflow: http://stackoverflow.com/questions/tagged/patternlab.io
86+
87+
## Support Pattern Lab Node
88+
89+
Pattern Lab Node is on [Patreon account](https://www.patreon.com/patternlab) to allow users and organizations to directly support continued work on the Pattern Lab Node project.
90+
91+
I (Brian talking) need help and support to make Pattern Lab Node a sustained success. I devote a lot of free time and would-be sleep to make the project what it is, but nothing compares to hearing back from users. It means the world to me when people find value in Pattern Lab Node. I am ridiculously humbled to hear and see what you all build with it.
92+
93+
If you find yourself here and balk and the idea of supporting open source software monetarily - I understand. Carry on, but please do share what you build - we all learn more together.
94+
- [Pattern Lab on Patreon](https://www.patreon.com/patternlab)
95+
96+
## License
97+
98+
[MIT](https://github.com/pattern-lab/patternlab-node/blob/master/LICENSE)

patternlab.svg

Lines changed: 6 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)