Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy from patternlab-jekyll? #1

Open
alexgreen opened this issue Jan 13, 2016 · 2 comments
Open

deploy from patternlab-jekyll? #1

alexgreen opened this issue Jan 13, 2016 · 2 comments

Comments

@alexgreen
Copy link

Is it possible to output a deployable static site from patternlab-jekyll? (Pardon me if this question seems obtuse, I'm pretty new to Pattern Lab and Jekyll.)

Also, it seems like the pattern library in patternlab-jekyll displays the atom, molecule, organism and template patternTypes but not the page patternType that I see in patternlab-php. Am I missing something? Seems like once there's output of the page patternType it might be a relatively small step from there to output a deployable static site...?

Thanks!

@karissademi
Copy link
Owner

Jekyll will place the static site it generates in the _site directory: http://jekyllrb.com/docs/structure/, which is .gitingored. I haven't tried deploying to anything except gh-pages, but there should be documentation out there on how to deploy Jekyll sites to other platforms.

You are correct that the page patternType is missing in this version. It just so happened I didn't get that far in development, due to time restraints and butting up against a wall in my Jekyll knowledge. I'd be happy to revisit and collaborate if there is interest in this project.

@alexgreen
Copy link
Author

Jekyll will place the static site it generates in the _site directory

That’s been my understanding, but the stylesheet reference in _site/index.html points to /patternlab-jekyll/css/patterns.css which is a path that doesn’t exist within _site, so the site doesn’t render properly. …probably there’s a fairly obvious way of fixing this, maybe in the config.

You are correct that the page patternType is missing in this version. … I'd be happy to revisit and collaborate if there is interest in this project.

Sadly my time and knowledge are pretty limited, but I’ll see if it can fit into the scope of my current prototyping project. Having an app that can output a deployable static site while also auto-generating updated atomic pattern libraries would be amazing!

Brian Muenzenmeyer has a similar project using PatternLab, Node and Jekyll. But I have no clue about Node, so your project seems more approachable to me.
http://www.brianmuenzenmeyer.com/using-patternlab-to-design-build-and-maintain-a-website/ http://www.brianmuenzenmeyer.com/using-patternlab-to-design-build-and-maintain-a-website/
https://github.com/pattern-lab/patternlab-node https://github.com/pattern-lab/patternlab-node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants