The 5 minute setup
This quick tutorial will get you up and running with your first PieCrust website in a matter of minutes.
-
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 -
Run the PieCrust development server to check it out.
cd ludovicchabant-piecrust-xxxxxxxxxx _piecrust/chef serve --root=website -
Now look into
website/_content/config.yml(that’s the configuration file) and change what obviously needs to be changed. -
Add/edit some pages and layouts. Refresh the web browser, and see you changes right away!
-
When you’re ready, bake your website:
_piecrust/chef bake --root=websiteYour statically generated website is waiting for you on the counter, in
website/_counter! -
Got the hang of it? Add chef to your
PATHand start fresh:chef init ~/stuff/mynewwebsite cd ~/stuff/mynewwebsite chef serve