Skip to content
Skeleton to create templates with Gulp
HTML JavaScript PHP CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src
templates
.gitignore
CHANGELOG.md
LICENSE
README.md
docker-compose.yml
gulpfile.js
package-lock.json
package.json

README.md

Gulp Skeleton - InsanityMeetsHH

Demo page

Included

Required

Installation (Recommended)

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

Change gulpfile.json if necessary.

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

Project Commands

Description
gulp watch files and start BrowserSync
gulp build executes following tasks: cleanUp, scss, js, scssLint, jsLint, img, font, svg
gulp cleanUp clean up public folder
gulp font copy font files
gulp img copy and compress images
gulp js uglify, minify and concat js files
gulp jsLint checks js follows lint rules
gulp scss compile, minify and concat scss files
gulp scssLint checks scss follows lint rules
gulp svg copy and compress svg files
gulp watch watch scss, js, img, font and svg files

Installation with Docker

  • Get project via $ git clone https://github.com/InsanityMeetsHH/gulp-skeleton.git 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:3050 for website
  • If you want to remove the container $ docker rm gulp-skeleton -f
  • If you want to remove the volume $ docker volume rm DIRNAME_logs (first remove matching container)

Links

You can’t perform that action at this time.