Giter Site home page Giter Site logo

Comments (3)

dmolsen avatar dmolsen commented on May 31, 2024

@allenjcochran -

Obviously the docs aren't good enough. Pattern Lab is meant to be used locally for development and then you move your files to your host when you want a client to review. I haven't used Pattern Lab on Mavericks yet but this should be your workflow:

  1. Download Pattern Lab to your Sites folder or wherever you normally store your projects locally.
  2. Open the scripts/ folder and double-click generateSite.command. This will generate your PL site for the first time. You'll have a console window that will pop open. You can close it after it finishes.
  3. Open public/index.html in your favorite browser. You don't need Apache or anything running locally for it to work. It helps but it's not required. You'll see your copy of the PL site.
  4. Edit patterns in source/_patterns/ to your heart's content. The material under "Working With Patterns" should be helpful. I'm assuming this is what you mean by "add to the page like a CMS."
  5. Regenerate your site by double-clicking scripts/generateSite.command again and refresh your browser to see your changes.

Doing 4 & 5 repeatedly is annoying so it's also possible to "watch" files for changes and have PL auto-generate your site. PL can also auto-reload your browser for you.

Once you're ready for a client to review just upload public/ to your host and you should be all set.

I apologize for the confusion. I hope that clears it up some.

from patternlab-php.

dmolsen avatar dmolsen commented on May 31, 2024

@allenjcochran -

I tweaked our instructions a little bit. Hopefully they're clearer.

from patternlab-php.

dmolsen avatar dmolsen commented on May 31, 2024

@allenjcochran -

I'm going to close this issue. If you continue to run into problems please let me know.

from patternlab-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.