You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 7, 2023. It is now read-only.
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](http://windows.php.net/download/). Pattern Lab comes with its own built-in web server.
15
+
16
+
Pattern Lab uses [Composer](https://getcomposer.org/) 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.
22
17
23
18
## Installing
24
19
@@ -48,7 +43,22 @@ Use Composer's [`create-project` command](https://getcomposer.org/doc/03-cli.md#
48
43
1. In a terminal window navigate to the root of your project
49
44
2. Type `composer create-project pattern-lab/edition-mustache-webdesignday your-project-name && cd $_`
50
45
51
-
This will install the Standard Edition for Mustache into a directory called `your-project-name` in `install/location/`. You will be automatically dropped into the project directory after the process is finished.
46
+
This will install the Standard Edition for Mustache into a directory called `your-project-name` in `install/location/`. When prompted choose the "demo" StarterKit. You will be automatically dropped into the project directory after the process is finished.
47
+
48
+
## Get Up and Running
49
+
50
+
After installing do the following start Pattern Lab:
51
+
52
+
1. In a terminal window navigate to the root of your project if you aren't there already
53
+
2. Type `php core/console --server --with-watch`
54
+
55
+
You should now be able to open [http://localhost:8080](http://localhost:8080) to see your generated site. Any changes you make in `./source/` will automatically rebuild your site and reload your browser.
56
+
57
+
As you get more comfortable with Pattern Lab you can [integrate it with a Gulp or Grunt workflow](http://patternlab.io/docs/advanced-integration-with-grunt.html) and drop some of the native Pattern Lab features like automatic browser reload.
58
+
59
+
## More Documentation
60
+
61
+
Obviously the reason to install Pattern Lab is more than the install process. [Check out the documentation](https://patternlab.io/docs/) to learn about how to use patterns, how to modify the data used to populate your patterns, and about some advanced features.
52
62
53
63
## Migrating from Pattern Lab 1 to Pattern Lab 2
54
64
@@ -71,10 +81,11 @@ The Standard Edition for Mustache installs the following components:
0 commit comments