Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Aplyca/patternlab-standard

Repository files navigation

Pattern Lab Standard Edition

Prerequesites

  • GNU Make

Override configurations and settings

Create the file .env with the environment variables, use the .env.dist file for reference. Reload your environment (make reload) in order to make this variables take effect

Install requirements:

make requirements

Installation

make

Start working

See Pattern Lab docs: http://patternlab.io/docs/index.html

Pushing the changes to the repo

Execute the following command to push your changes

make push

The command above will pormnt some questions to help you create a good commit message in compliance to the semantic release.

This project uses semantic release to deploy to CloudFront CDN depending on the commit messages in the master branch.

Starting the environment

make start

Stopping the environment

make stop

Execute tests

make test

Open your environment in the browser

make open

See all commands available

make help

Deploy preview to S3

make preview

Release to CDN

make publish