4.2.0 • Published 5 years ago

gulp-skeleton v4.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Gulp Templating - InsanityMeetsHH

Demo page

Included

Required

Installation (Recommended)

$ git clone https://github.com/InsanityMeetsHH/gulp-templating.git [project-name]
$ cd [project-name]
$ rm -rf .git
$ npm i
$ gulp build

Change localServer in gulpfile.js to your local server.

Possible local servers (examples): http://imhh-gulp.localhost/ or http://localhost/imhh-gulp/public/.

Project Commands

Description
gulpwatch files and start BrowserSync
gulp buildexecutes following tasks: cleanUp, scss, js, scssLint, jsLint, img, font, svg
gulp cleanUpclean up public folder
gulp fontcopy font
gulp imgcompress/copy img
gulp jsuglify/minify/concat js
gulp jsLintchecks js follows lint rules
gulp scsscompile/minify/concat scss
gulp scssLintchecks scss follows lint rules
gulp svgcompress/copy svg
gulp watchwatch scss, js, img, font and svg files

Installation with Docker

  • Get this project via $ git clone or zip download
  • Open a command prompt on your OS (if not already open) and navigate to the project folder
  • $ npm i
  • $ gulp build
  • $ docker-compose up -d
  • Open localhost:8080 for website
  • If you want to remove a container $ docker rm [container-name] -f e.g. $ docker rm gulp-templating -f
  • If you want to remove a volume $ docker volume rm [volume-name] e.g. $ docker volume rm imhh-gulp_logs (first remove matching container)
  • If you want to remove all container $ docker rm $(docker ps -a -q) -f
  • If you want to remove all volumes $ docker volume prune (first remove all container)

Links