https://github.com/redhataccess/cp-patterns
Experimental Customer Portal Web Component Pattern Library
https://github.com/redhataccess/cp-patterns
Last synced: 2 months ago
JSON representation
Experimental Customer Portal Web Component Pattern Library
- Host: GitHub
- URL: https://github.com/redhataccess/cp-patterns
- Owner: redhataccess
- License: gpl-3.0
- Created: 2016-08-19T13:48:22.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-10T20:11:01.000Z (almost 9 years ago)
- Last Synced: 2025-06-24T05:17:51.451Z (12 months ago)
- Language: CSS
- Size: 26.3 MB
- Stars: 2
- Watchers: 23
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cp-patterns
Experimental Customer Portal Web Component Pattern Library.
## Developing Patterns and Components
### Setup
After downloading the repo, install [Docker](https://www.docker.com/) and [docker-compose](https://docs.docker.com/compose/install/) (often bundled).
Within the source tree, run the following:
```
$ docker-compose up
```
By default, the container will listen on [localhost](http://localhost:8080/) port **8080**. If you would like to change that, set the **PK_LISTEN_PORT** environment variable.
```
$ PK_LISTEN_PORT=9993 docker-compose up
```
When it completes, open another terminal and run `init.sh`
```
$ sh ./init.sh
```
It will automatically install the Composer, NPM and Bower dependencies into the container and run Grunt to generate the dist folder.
From that point forward, you can use `psh.sh` to get a shell into the container:
```
$ ./psh.sh
```