A starting point for creating new Craft projects.
To create a new Craft project based on this repo, create your new repo. Let's call it Feast.
In Feast, add this boilerplate repo as a remote,
git remote add boilerplate https://github.com/mijewe/craft-boilerplate.git
pull in the contents,
git pull boilerplate master
and then make sure you can't push up to the boilerplate, as that may well break everything.
git remote set-url --push boilerplate no_push
Feast is built with Craft, but the Craft source files are not included with this repo. That would be ridiculous. Don't worry about installing Craft though, as that's done for you with the grunt init
task.
We compile all our assets using Grunt. So first run npm i
to install the node modules, bower update
to install the bower components, grunt init
to install Craft, and then grunt build
to generate all the assets.
npm i ; bower update ; grunt init build
We don't include plugin files in the repo. That would also be ridiculous. So here is a list of the plugins used:
- Anchor
- Cachey, by Dust
- Contact Form, by Pixel & Tonic
- Email Wrap
- JSON Transforms
- Redirect Manager, by Roi Kingon
- Refresh String
- Sprout Fields, by Barrel Strength Design
- Typogrify, by Jamie Pittock