https://github.com/phase2/grav-pl-starter
An example setup for building a Grav CMS site based on a Pattern Lab design system.
https://github.com/phase2/grav-pl-starter
grav pattern-lab twig
Last synced: 11 days ago
JSON representation
An example setup for building a Grav CMS site based on a Pattern Lab design system.
- Host: GitHub
- URL: https://github.com/phase2/grav-pl-starter
- Owner: phase2
- Created: 2017-08-28T17:57:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-01T13:22:12.000Z (over 8 years ago)
- Last Synced: 2025-12-07T21:01:33.865Z (3 months ago)
- Topics: grav, pattern-lab, twig
- Language: PHP
- Size: 10.3 MB
- Stars: 4
- Watchers: 50
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Grav Pattern Lab Starter
An example setup for building a Grav CMS site based on a Pattern Lab design system.
## Quick Start Instructions
1. Run `composer install` to pull in Pattern Lab and compile it.
2. Run `./scripts/serve.sh` or run `docker-compose up` if you're a Docker fan.
3. View the site at [localhost:8000](http://localhost:8000).
## How To Use This
1. Update `composer.json` to point to your project-specific Pattern Lab repo.
2. Look at `scripts/compile.sh` and update as needed for your project-specific Pattern Lab setup.
3. Run `composer install` (which will automatically run `scripts/compile.sh` to compile PL and symlink things into your Grav theme).
4. Adjust the theme templates to match your actual Pattern Lab components.
5. Add some content and profit!