2017 © Pedro Peláez
 

library edition-mustache-standard

image

pattern-lab/edition-mustache-standard

  • Tuesday, July 31, 2018
  • by EvanLovely
  • Repository
  • 191 Watchers
  • 3129 Stars
  • 3,021 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 510 Forks
  • 19 Open issues
  • 51 Versions
  • 5 % Grown

The README.md

licensePackagist Gitter, (*1)

Pattern Lab Standard Edition for Mustache

The Pattern Lab Standard Edition for Mustache is the evolution of Pattern Lab 1. Pattern Lab is still, at its core, a prototyping tool focused on encouraging communication between content creators, designers, devs, and clients. It combines platform-agnostic assets, like the Mustache-based patterns, with a PHP-based "builder." Pattern Lab 2 introduces the beginnings of an ecosystem that will allow teams to mix, match and extend Pattern Lab to meet their specific needs. It will also make it easier for the Pattern Lab team to push out new features. Pattern Lab Standard Edition for Mustache is just one of the four PHP-based Editions currently available., (*2)

Demo

You can play with a demo of the front-end of Pattern Lab at demo.patternlab.io., (*3)

Requirements

To use the basic features of Pattern Lab to compile patterns, you must have PHP 5.4+ installed. On Mac OS X Pattern Lab should work "out of the box." If you're on Windows you can download PHP from PHP.net. Pattern Lab comes with its own built-in web server., (*4)

Pattern Lab uses Composer to manage project dependencies. It's required if you want to install Pattern Lab using Composer's create-project command or if you want to upgrade Pattern Lab in the future., (*5)

Installing

There are two methods for downloading and installing the Standard Edition for Mustache:, (*6)

  • Download a pre-built project
  • Create a project based on this Edition with Composer

Download a pre-built project

The fastest way to get started with Pattern Lab's Standard Edition for Mustache is to download the latest pre-built version from the releases page., (*7)

Use Composer to create a project

Pattern Lab uses Composer to manage project dependencies., (*8)

1. Install Composer

Please follow the directions for installing Composer on the Composer website. We recommend you install it globally., (*9)

2. Install the Standard Edition for Mustache

Use Composer's create-project command to install the Standard Edition for Mustache into a location of your choosing. To create a project do the following:, (*10)

  1. In a terminal window navigate to where you want to install Pattern Lab
  2. Type composer create-project pattern-lab/edition-mustache-standard patternlab2-example && cd $_
  3. When prompted, type 1 to install the demo StarterKit

This will install the Standard Edition for Mustache along with the demo StarterKit into a directory called patternlab2-example. You will be automatically dropped into patternlab2-example/ when the install is finished., (*11)

Note: If you clone or download this repository and use composer install to install the project dependencies you'll need to type the following to install the demo StarterKit:, (*12)

composer install-demo

Otherwise you'll have a very bare set-up of Pattern Lab., (*13)

Get Up and Running

After installing do the following to start and view Pattern Lab:, (*14)

  1. In a terminal window navigate to the root of your project if you aren't there already
  2. Type php core/console --server --with-watch

You should now be able to open http://localhost:8080 to see your generated site. Any changes you make in ./source/ will automatically rebuild your site and reload your browser., (*15)

As you get more comfortable with Pattern Lab you can integrate it with a Gulp or Grunt workflow and drop some of the native Pattern Lab features like automatic browser reload. You can also check out the list of plugins., (*16)

More Documentation

Obviously Pattern Lab is deeper than the install process. Check out the documentation to learn about how to use patterns, how to modify the data used to populate those patterns, and about some advanced features., (*17)

Migrating from Pattern Lab 1 to Pattern Lab 2

Pattern Lab 2 was a complete rewrite and reorganization of Pattern Lab 1. Learn about the changes. After installing the Standard Edition for Mustache do the following to migrate from Pattern Lab 1 to Pattern Lab 2:, (*18)

  1. Copy ./source from your old project to your new install
  2. Copy ./source/_patterns/00-atoms/00-meta/_00-head.mustache to ./source/_meta/_00-head.mustache
  3. Copy ./source/_patterns/00-atoms/00-meta/_01-foot.mustache to ./source/_meta/_00-foot.mustache
  4. Copy ./source/_data/annotations.js to ./source/_annotations/annotations.js

Everything else should work without changes., (*19)

Need Pattern Lab 1?

The source code for Pattern Lab 1 is still available for download., (*20)

Packaged Components

The Standard Edition for Mustache installs the following components:, (*21)

List All of the Available Commands and Their Options

To list all available commands type:, (*22)

php core/console --help

To list the options for a particular command type:, (*23)

php core/console --help --[command]

The Versions

31/07 2018

dev-release-0.3.2

dev-release-0.3.2

  Sources   Download

31/07 2018

dev-release-0.6.2

dev-release-0.6.2

  Sources   Download

31/07 2018

dev-release-0.6.3

dev-release-0.6.3

  Sources   Download

31/07 2018

dev-release-0.7.7

dev-release-0.7.7

  Sources   Download

31/07 2018

dev-release-0.3.0

dev-release-0.3.0

  Sources   Download

31/07 2018

dev-release-0.3.1

dev-release-0.3.1

  Sources   Download

31/07 2018

dev-release-0.6.1

dev-release-0.6.1

  Sources   Download

31/07 2018

dev-release-0.7.5

dev-release-0.7.5

  Sources   Download

31/07 2018

dev-release-0.7.6

dev-release-0.7.6

  Sources   Download

31/07 2018

dev-release-0.3.6

dev-release-0.3.6

  Sources   Download

31/07 2018

dev-release-0.6.0

dev-release-0.6.0

  Sources   Download

31/07 2018

dev-release-0.7.12

dev-release-0.7.12

  Sources   Download

31/07 2018

dev-release-0.7.2

dev-release-0.7.2

  Sources   Download

31/07 2018

dev-release-0.3.4

dev-release-0.3.4

  Sources   Download

31/07 2018

dev-release-0.3.5

dev-release-0.3.5

  Sources   Download

31/07 2018

dev-release-0.7.11

dev-release-0.7.11

  Sources   Download

31/07 2018

dev-release-v0.7.1

dev-release-v0.7.1

  Sources   Download

31/07 2018

dev-release-0.3.3

dev-release-0.3.3

  Sources   Download

31/07 2018

dev-release-0.7.0

dev-release-0.7.0

  Sources   Download

31/07 2018

dev-release-0.7.8

dev-release-0.7.8

  Sources   Download

31/07 2018

dev-release-0.7.9

dev-release-0.7.9

  Sources   Download

31/07 2018

dev-release-0.6.4

dev-release-0.6.4

  Sources   Download

02/04 2018

v0.2.0

0.2.0.0

  Sources   Download

02/04 2018

v0.3.0

0.3.0.0

  Sources   Download

02/04 2018

v0.3.6

0.3.6.0

  Sources   Download

02/04 2018

v0.6.0

0.6.0.0

  Sources   Download

02/04 2018

v0.6.1

0.6.1.0

  Sources   Download

02/04 2018

v0.7.10

0.7.10.0

  Sources   Download

02/04 2018

v0.7.11

0.7.11.0

  Sources   Download

02/04 2018

v0.7.12

0.7.12.0

  Sources   Download

02/04 2018

v1.0.0

1.0.0.0

  Sources   Download

02/04 2018

v1.1.0

1.1.0.0

  Sources   Download

02/04 2018

v0.3.3

0.3.3.0

  Sources   Download

02/04 2018

v0.3.4

0.3.4.0

  Sources   Download

02/04 2018

v0.3.5

0.3.5.0

  Sources   Download

02/04 2018

v0.6.3

0.6.3.0

  Sources   Download

02/04 2018

v0.6.4

0.6.4.0

  Sources   Download

02/04 2018

v0.7.0

0.7.0.0

  Sources   Download

02/04 2018

v0.7.1

0.7.1.0

  Sources   Download

02/04 2018

v0.7.5

0.7.5.0

  Sources   Download

02/04 2018

v0.7.6

0.7.6.0

  Sources   Download

02/04 2018

v0.7.7

0.7.7.0

  Sources   Download

02/04 2018

v0.7.8

0.7.8.0

  Sources   Download

02/04 2018

v0.7.9

0.7.9.0

  Sources   Download

02/04 2018

v0.3.1

0.3.1.0

  Sources   Download

02/04 2018

v0.3.2

0.3.2.0

  Sources   Download

02/04 2018

v0.6.2

0.6.2.0

  Sources   Download

02/04 2018

v0.7.2

0.7.2.0

  Sources   Download

13/07 2016

dev-dev

dev-dev http://patternlab.io

The Standard Edition of Pattern Lab for Mustache. Installs all Mustache-related dependencies.

  Sources   Download

MIT

The Requires

 

mustache pattern lab

13/07 2016

dev-master

9999999-dev http://patternlab.io

The Standard Edition of Pattern Lab for Mustache. Installs all Mustache-related dependencies.

  Sources   Download

MIT

The Requires

 

mustache pattern lab

13/07 2016

v2.0.0

2.0.0.0 http://patternlab.io

The Standard Edition of Pattern Lab for Mustache. Installs all Mustache-related dependencies.

  Sources   Download

MIT

The Requires

 

mustache pattern lab