Run npm ci after first installation to install dependencies
Run these commands to get something in your public folder
npm startwill generate sitenpm run devwill generate site, show lint errors, watch files and re-run build on change
Separate commands per task:
npx gulpwill build all the staticnpx gulp cleanwill clean up your public foldernpx gulp styleswill process your scss styles with entry points atsrc/styles/pagesinto css files at *public/cssnpx gulp markupwill process your nunjucks templates with entry points atsrc/templates/pagesinto html files inpublicfoldernpx gulp imageswill convert & compress images into webp and avif, make 1x less images from your 2x images and put intopublic/imgfoldernpx gulp spritewill combine svg files fromsrc/images/spritefolder intopublic/sprite.svgfile
You may run gulp commands with flags, like this: npx gulp --lint --min (two minuses before each of them, separated by space)
Available flags:
--lintwill run linters for runned gulp tasks--minwill minify styles (images will be always converted and compressed)--debugwill show extra logs in the console. only for build debugging purposes--openwill open yourindex.htmlin the default browser after starting the local server
Student:
Mentor: