This is a boilerplate theme for SilverStripe. It's designed to work in tandem with the boilerplate SilverStripe repository to provide a good starting point for development of new projects.
Most dependencies will be automatically installed using Composer.
In addition to dependencies managed by Composer, the development environment is expected to have the following libraries available:
- Compass
- Grunt.js >= 0.4.0 -- contrib-watch -- contrib-uglify -- contrib-compass
After the Composer install is complete, there are a couple of minor setup steps required.
Install Grunt modules locally using NPM
The repository has a package.json
file which defines the NPM modules which are required. Assuming you have NPM and
Grunt >= 0.4.0 installed as recommended, it's simply a matter of running npm install
in the theme directory.
While actively developing on the project you'll want to have Grunt watching the directory for changes to the SCSS and
JS files, so run grunt watch
from the theme directory.