GithubHelp home page GithubHelp logo

gulp-boilerplate-workflow's Introduction

Gulp Boilerplate Workflow

Fun front-end development with a GULP workflow

Making it fun to development on the front-end ๐Ÿ˜ ๐ŸŽ‰

Sass? ES6 syntax? Go for it!

Features

  • CSS - vendor prefixing, concatenating, and minifying
  • SCSS - pre-processing,
  • ES6 Javascript - transpiling, and bundling into browser-friendly JS
  • Easy live deployment to github pages, heroku etc.

Up & Running

Development:

Start local web server that reloads with every save you make.

  • $ gulp watch
  • edit the files in the src/ directory

Production:

Build your production ready website in one command!

  • $ gulp build

In order to get up and running with this project, you will need to have git, node, and gulp-cli (npm) installed.

Installing

There are two versions of this project: 1) uses CSS only and 2) that uses SASS.

First clone this repo && checkout the remote version that you'd like to use

// For CSS version:
$ git clone [email protected]:thechutrain/gulp-boilerplate-workflow.git
$ npm install
$ git checkout origin/CSS
$ rm -rf .git

// For SASS verion:
$ git clone [email protected]:thechutrain/gulp-boilerplate-workflow.git
$ git checkout origin/SASS
$ npm install
$ rm -rf .git

// For SASS verion with Bootstrap 4:
$ git clone [email protected]:thechutrain/gulp-boilerplate-workflow.git
$ git checkout remotes/origin/SASS_BS3
$ npm install
$ rm -rf .git

Deployment

Before deploying your production build, make sure to $ gulp build to get your latest build.

Deploy to GitHub pages

3 commands to deploy on github

$ gulp build
$ git add build && git commit -m "init commit of subtree"
$ git subtree push --prefix build origin gh-pages

Authors

gulp-boilerplate-workflow's People

Contributors

thechutrain avatar

Stargazers

 avatar

gulp-boilerplate-workflow's Issues

fix readme

extra "git checkout" in the installation code. Also add a npm install too.

SASS branch

  • need to install gulp-sass && gulp-rename?
  • change the dev command in the readme to gulp dev, instead of gulp watch

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.