Starterkit for Craft CMS 2.x (Multi-Environment Configs with HeartyConfig, Gulp, and Bower for Dependencie-Management)
First; install wget, because the generator use it for downloading the actual Craftcms version. Check the wget for mac or wget for windows.
Second; install Yeoman and generator-craftskeleton using npm (I assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-craftskeleton
- Download this repository on your local machine.
- Create a local vhost – I prefere MAMP Pro – which is pointing on
/public
in this project. - Create a database with the same name in the config file:
/config/config.local.php
. - Run
npm install && bower install
.
Now you’re ready to run the generator:
yo craftskeleton
This generator use some plugins. The plugins are already downloaded in /plugins/
. If you want to use them, you have to activate them in the backend.
- Cache Buster
- Control Panel Nav
- CP Field Links
- Focal Point Field for Craft
- Hacksaw
- Imager
- ImageResizer
- Kint
- Language Link
- LinkIt
- Neo
- Preparse Field
- Quick Fields
- Reasons
- Relabel
- Retour
- SEOmatic
- Simple Sitemap
- Super Table
- The Architect
- Video Embed Utility
To start coding you can run gulp
in your root directory. If you want to get your production-files just run gulp build
.
Bower is used for the frontend dependencies. To add new dependencies you have to run following command in your bash:
bower install --save [DEPENDENCIE NAME]
Thanks WebDevs Family
Big thanks to my friends Sascha Fuchs, David Hellmann and Martin Herweg and of course to all the members from our Slack Channel webdevs (feel free to join us). Your helped me a lot and you guys are a big inspiration!
MIT © interpunkt. ag