PieCrust

The 5 minute setup

This quick tutorial will get you up and running with your first PieCrust website in a matter of minutes.

  1. Download the latest version of PieCrust and extract it somewhere nice.

    wget https://bitbucket.org/ludovicchabant/piecrust/get/stable.zip -O piecrust.zip
    unzip piecrust.zip

  2. Run the PieCrust development server to check it out.

    cd ludovicchabant-piecrust-xxxxxxxxxx
    _piecrust/chef serve --root=website
  3. Now look into website/_content/config.yml (that’s the configuration file) and change what obviously needs to be changed.

  4. Add/edit some pages and layouts. Refresh the web browser, and see you changes right away!

  5. When you’re ready, bake your website:

    _piecrust/chef bake --root=website

    Your statically generated website is waiting for you on the counter, in website/_counter!

  6. Got the hang of it? Add chef to your PATH and start fresh:

    chef init ~/stuff/mynewwebsite
    cd ~/stuff/mynewwebsite
    chef serve

    And keep reading the documentation!

Fork me on GitHub