generator-craftskeleton

0.4.3 • Public • Published

Craft CMS Generator

Starterkit for Craft CMS 2.x (Multi-Environment Configs with HeartyConfig, Gulp, and Bower for Dependencie-Management)


1. Installation

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

2. Setup local installation

  1. Download this repository on your local machine.
  2. Create a local vhost – I prefere MAMP Pro – which is pointing on /public in this project.
  3. Create a database with the same name in the config file: /config/config.local.php.
  4. Run npm install && bower install.

3. Getting started

Now you’re ready to run the generator:

yo craftskeleton

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.

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 gulp build.

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]

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!


License

MIT © interpunkt. ag

Package Sidebar

Install

npm i generator-craftskeleton

Weekly Downloads

5

Version

0.4.3

License

MIT

Last publish

Collaborators

  • benblub