Coder Social home page Coder Social logo

modimayur / gulp-skeleton Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codelinered/gulp-skeleton

0.0 0.0 0.0 75.1 MB

Skeleton to create templates with Gulp

Home Page: https://gulp.insanitymeetshh.net

License: MIT License

JavaScript 28.45% PHP 21.32% HTML 41.47% SCSS 8.76%

gulp-skeleton's Introduction

Gulp Skeleton - CodelineRed

Demo page

Table of contents

Included

Install Production Build (Recommended)

Required

  • PHP >= 5.5

Open console on your OS and navigate to the place where you want to install the project.

+++++ COMPOSER VERSION +++++
$ php composer create-project --ignore-platform-reqs --no-dev codelinered/gulp-skeleton gulp-skeleton "dev-production"
$ cd gulp-skeleton
+++++ GIT VERSION +++++
$ git clone https://github.com/CodelineRed/gulp-skeleton.git
$ cd gulp-skeleton
$ git checkout production
$ (optional on unix) rm -rf .git
$ (optional on win10) rmdir .git /s
+++++ ZIP VERSION +++++
$ ---- Unix ----
$ wget -O gs-prod.zip https://github.com/CodelineRed/gulp-skeleton/archive/production.zip
$ unzip gs-prod.zip
$ ---- Windows 10+ ----
$ curl -L -o gs-prod.zip https://github.com/CodelineRed/gulp-skeleton/archive/production.zip
$ tar -xf gs-prod.zip
$ --- All OS ----
$ cd gulp-skeleton-production

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

Install Main/ Develop Build

Required

Open console on your OS and navigate to the place where you want to install the project.

+++++ COMPOSER VERSION +++++
$ php composer create-project --ignore-platform-reqs codelinered/gulp-skeleton
$ cd gulp-skeleton
$ npm i
$ gulp build
$ gulp watch
+++++ GIT VERSION +++++
$ git clone https://github.com/CodelineRed/gulp-skeleton.git
$ cd gulp-skeleton
$ git checkout main
$ (optional on unix) rm -rf .git
$ (optional on win10) rmdir .git /s
$ npm i
$ gulp build
$ gulp watch
+++++ ZIP VERSION +++++
$ ---- Unix ----
$ wget -O gs-main.zip https://github.com/CodelineRed/gulp-skeleton/archive/main.zip
$ unzip gs-main.zip
$ ---- Windows 10+ ----
$ curl -L -o gs-main.zip https://github.com/CodelineRed/gulp-skeleton/archive/main.zip
$ tar -xf gs-main.zip
$ --- All OS ----
$ cd gulp-skeleton-main
$ npm i
$ gulp build
$ gulp watch

Open localhost:3000 for Website.

Install with Docker (optional)

Required

Open console on your OS and navigate to the place where you want to install the project.

$ ---- Unix ----
$ systemctl docker start
$ docker run --rm --interactive --tty --volume $PWD:/app composer create-project --ignore-platform-reqs --no-dev codelinered/gulp-skeleton gulp-skeleton "dev-production"
$ ---- Windows CMD ----
$ "c:\path\to\Docker Desktop.exe"
$ docker run --rm --interactive --tty --volume %cd%:/app composer create-project --ignore-platform-reqs --no-dev codelinered/gulp-skeleton gulp-skeleton "dev-production"
$ --- All OS ----
$ cd gulp-skeleton
$ docker-compose up -d

Open localhost:7701 for Website.

Project Commands

Description
gulp watch files and start BrowserSync (only available with Docker)
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 thankYou a small thank for you
gulp svg copy and compress svg files
gulp watch watch favicon, font, img, js, scss and svg files
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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.