Giter Club home page Giter Club logo

quench's Introduction

Quench

A front-end build tool to quickly spin up static web sites using Gulp, Jekyll, SASS and Bootstrap or Foundation.

Getting started

Before you start, install these on your machine globally

Setup project

  1. Clone this repo to a local folder
  2. cd to the folder in terminal
  3. Choose Bootstrap or Foundation and install package by running either npm install bootstrap-sass --save or npm install foundation-sites --save
  4. Run npm install
  5. Open gulpfile.js and uncomment line 22 or 23 to use Bootstrap or Foundation
  6. Open assets/styles/main.scss and uncomment the @import for Bootstrap or Foundation

Build

This project uses the Gulp task runner to manage the build process. The compiled site is generated in the deploy folder.

Commands

gulp The default command will run all build tasks then serve the site and rebuild on changes with Browsersync. This is the task you typically want to use when developing.

gulp build Runs clean and then all other tasks.

gulp clean This deletes everything in the deploy folder.

gulp html Runs Jekyll to build all html files.

gulp css Compiles sass, prefixes css and writes source maps.

gulp img Minifies images.

gulp js Lints, concatenates and minifies javascript files and writes source maps.

gulp lint Lints only app.js source, not bower included files.

Production

The --production argument can be passed with any task. This removes source maps when compiling css and javascript. Typically this is used with the build command to generate final production assets.

Structure

Here is the basic tree structure and important files

.
├── _config.yml              <- Jekyll config
├── .babelrc                 <- Babel settings (only used for Foundation)
├── .editorconfig            <- Code styling rules for supported editors
├── .gitignore               <- Repo excludes
├── gulpfile.js              <- Build tasks
├── package.json             <- Project dependencies
├── README.md                <- This document
├── scriptfiles.json         <- JavaScript file includes (add to and remove from build here)
├── assets
│   ├── fonts
│   ├── images
│   ├── scripts
│   │   └── main.js
│   └── styles
│       ├── _bootstrap-variables.scss
│       ├── _bootstrap.scss
│       ├── _foundation-settings.scss
│       ├── _foundation.scss
│       ├── _global.scss
│       └── main.scss                 <- Top level SASS file (import all others from here)
├── deploy                            <- Generated output
├── html
│   ├── _includes                     <- Partial template files
│   │   ├── bootstrap-navbar.html
│   │   ├── footer.html
│   │   └── foundation-topbar.html
│   ├── _layouts                      <- Top level template files
│   │   └── default.html
│   └── index.html                    <- Homepage content

quench's People

Contributors

swilliams avatar

Stargazers

Scott Bulloch avatar  avatar

Watchers

 avatar James Cloos avatar  avatar Mohammed Islam avatar Jen Walsh avatar Celso Mireles avatar Scott Bulloch avatar John Cafazza avatar  avatar David Branstrator avatar Bryan Knight avatar Chelsea Winkel avatar Anthony Martinez avatar Amari Duran avatar  avatar Hannah Rosen  avatar  avatar  avatar  avatar  avatar Vinnie King avatar Jorge Martinez avatar  avatar

Forkers

scottmbulloch

quench's Issues

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.