Skip to content

CodelineRed/gulp-skeleton

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Gulp Skeleton - CodelineRed

Demo page

Table of contents

Included

Install Production Build (Recommended)

Required

  • PHP >= 5.3

Download zip if you don't have git on your OS. Open console on your OS and navigate to your project folder.

$ git clone https://github.com/CodelineRed/gulp-skeleton.git
$ cd gulp-skeleton
$ git checkout production
$ (optional on unix) rm -rf .git
$ (optional on windows) rmdir .git /s

If you need PHP, you have to go to Install PHP.

Install Master/ Develop Build

Required

Download zip if you don't have git on your OS. Open 2 consoles on your OS and navigate both to your project folder.

$ git clone https://github.com/CodelineRed/gulp-skeleton.git
$ cd gulp-skeleton
$ (optional) git checkout develop
$ (optional on unix) rm -rf .git
$ (optional on windows) rmdir .git /s
$ npm i
$ gulp build

Install PHP (optional)

Required

Open console on your OS and navigate to the unziped/ cloned app folder.

$ (unix) systemctl docker start
$ (windows) "c:\path\to\Docker Desktop.exe"
$ docker-compose up -d

Open localhost:7701 for Website.

Project Commands

Description
gulp watch files and start BrowserSync
gulp build executes following tasks: cleanUp, favicon, font, img, js, jsLint, scss, scssLint, svg
gulp lintAll executes following tasks: jsLint, scssLint
gulp cleanUp clean up public folder
gulp favicon generate favicons
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 favicon, font, img, js, scss and svg files

gulpfile.json

Description
browserSyncConfig Required - Defines which config is used for BrowserSync (default: browserSyncDocker) +
sourcePath Required - Path to raw files (default: src/)
publicPath Required - Path to transpiled files (default: public/)
systemPath Optional - Alternative Path to transpiled files on CMS, ECS, PHP Framework, ... (default: path/to/system/)
env Required - Environment dev, test or prod (default: dev)

Localization

Links