npm install -g gulp-cli
npm install -g browser-sync
Open a terminal window and go to the project root. Run:
$ npm install
This should install all neccessary packages to get you up and running.
In terminal, go to the root of the project and run:
gulp fractal
This will:
To create a static build of fractal, go to the root of the project in terminal and run:
gulp build
IMPORTANT NOTE: This will delete the contents of assets/dist/css
and assets/dist/js
, then run scss, js, and image tasks in production mode, which will minify all files. As such, place files that should not be deleted in the outside of those directories, i.e. assets/dist/vendor
, etc.