Skip to content

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

License

Notifications You must be signed in to change notification settings

interpunkt/generator-craftskeleton

Repository files navigation

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]

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published