Craft CMS Generator
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 yonpm install -g generator-craftskeleton
2. Setup local installation
- Download this repository on your local machine.
- Create a local vhost – I prefere MAMP Pro – which is pointing on
/publicin this project.
- Create a database with the same name in the config file:
npm install && bower install.
3. Getting started
Now you’re ready to run the generator:
The Craft CMS Plugins
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
- Language Link
- Preparse Field
- Quick Fields
- Simple Sitemap
- Super Table
- The Architect
- Video Embed Utility
Run your Development Environment
To start coding you can run
gulp in your root directory. If you want to get your production-files just run
Add new Development Dependencies
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]
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