Ground Control is a front end development skeleton provided by the Kunstmaan Bundles. It enables you to use modern build processes like webpack and gulp.
In this document we'll describe how you can do updates to the ground control skeleton.
Where can I find it?
The skeleton can be found inside the src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/layout/groundcontrol directory.
Some more info on the ground control file structure:
bin: contains scripts for the different build tasks
dist: output of the processed ground control skeleton, we come back to this in the next section
package.json, ...: various files needed by the frontend build process
How to develop on it?
The source files contain Twig syntax. This is needed because when generating your website skeleton some variables (eg namespace) need to be processed.
To make development easier there is a task which can create a processed skeleton inside the
To do this you need to run
npm run buildGroundControlSkeleton.
buildGroundControlSkeleton task will:
- Process the ground control skeleton
- Copy the outpu to the
- Build the skeleton to verify there are no errors
You can run this task as many times as you want. Every time you run it, it will cleanup the
dist directory to start with a clean output.