Sign inSign up

stonehippo/pattern-lab-2

By stonehippo

•Updated over 10 years ago

Pattern Lab helps build thoughtful, pattern-driven user interfaces using atomic design principles.

Image
0

1.8K

stonehippo/pattern-lab-2 repository overview

Pattern Lab⁠ helps you and your team build thoughtful, pattern-driven user interfaces using atomic design principles.

⁠Pattern Lab Standard, Mustache Edition

Pattern Lab 2 Standard Edition for Mustache⁠

⁠How to use this image

To run Pattern Lab 2 with the Mustache Standard Edition (including the sample pattern library), try:

$ docker run -d -p 8080:8080 stonehippo/pattern-lab-2

This will start up Pattern Lab with the server and watch parameters enabled, which is equivalent to running the following command:

$ php core/console --server --host 0.0.0.0 --port 8080 --with-watch

If you already have a Pattern Lab 2 instance and you'd like to use it as the source for the container, use a volume that maps the source directory of that instance to the source directory within the container:

$ docker run -d -p 8080:8080 -v $(pwd)/source:/opt/pattern-lab/source/ stonehippo/pattern-lab-2

⁠Pattern Lab Standard, Twig Edition

Pattern Lab 2 Standard Edition for Twig⁠

⁠How to use this image

To run Pattern Lab Standard Twig Edition (including the sample pattern library), try:

$ docker run -d -p 8080:8080 stonehippo/pattern-lab-2:php-twig

This will start up Pattern Lab with the server and watch parameters enabled, which is equivalent to running the following command:

$ php core/console --server --host 0.0.0.0 --port 8080 --with-watch

If you already have a Pattern Lab 2 instance and you'd like to use it as the source for the container, use a volume that maps the source directory of that instance to the source directory within the container:

$ docker run -d -p 8080:8080 -v $(pwd)/source:/opt/pattern-lab/source/ stonehippo/pattern-lab-2:php-twig

⁠Pattern Lab Node, Gulp Edition

Pattern Lab Node Edition for Gulp⁠

⁠How to use this image

To run Pattern Lab Node Gulp Edition:

$ docker run -d -p 3000-3001:3000-3001 stonehippo/pattern-lab-2:node-gulp

This will start up Pattern Lab with the server and management UI enabled, which is equivalent to running the following command:

$ ./node_modules/.bin/gulp patternlab:serve

If you already have a Pattern Lab 2 instance and you'd like to use it as the source for the container, use a volume that maps the source directory of that instance to the source directory within the container:

$ docker run -d -p 3000:3000 -v $(pwd)/source:/opt/pattern-lab/source/ stonehippo/pattern-lab-2:node-gulp

⁠Pattern Lab Node, Grunt Edition

Pattern Lab Node Edition for Gulp⁠

⁠How to use this image

To run Pattern Lab Node Grunt Edition:

$ docker run -d -p 3000-3001:3000-3001 stonehippo/pattern-lab-2:node-grunt

This will start up Pattern Lab with the server and management UI enabled, which is equivalent to running the following command:

$ ./node_modules/.bin/grunt patternlab:serve

If you already have a Pattern Lab 2 instance and you'd like to use it as the source for the container, use a volume that maps the source directory of that instance to the source directory within the container:

$ docker run -d -p 3000:3000 -v $(pwd)/source:/opt/pattern-lab/source/ stonehippo/pattern-lab-2:node-grunt

Tag summary

Content type

Image

Digest

Size

176.7 MB

Last updated

over 10 years ago

docker pull stonehippo/pattern-lab-2