Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 1.84 KB

File metadata and controls

39 lines (33 loc) · 1.84 KB

Craft Boilerplate

A starting point for creating new Craft projects.

Getting Started

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

Setting Up

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

Plugins we use in this project

We don't include plugin files in the repo. That would also be ridiculous. So here is a list of the plugins used: