Coder Social home page Coder Social logo

project_template's Introduction

How to use start template

git clone https://github.com/Yochanes/project_template.git
  1. Clone or Download OptimizedHTML 5 from GitHub
  2. Install Node Modules: npm i
  3. Run: gulp

Main Gulp tasks:

  • gulp: run default gulp task (images, styles, scripts, browsersync, startwatch)
  • cleanimg: Clean all compressed images
  • styles, scripts, images, assets: build assets (css, js, images or all)
  • rsync: project deployment via RSYNC

Basic rules

  1. All custom scripts located in app/js/app.js
  2. All custom styles located in app/{preprocessor}/main.sass|scss|less|styl
  3. All preprocessor configs placed in app/{preprocessor}/_config.sass|scss|less|styl
  4. You can delete folders of other preprocessors before work.
  5. All images sources placed in app/images/src/ folder.

Included features

  1. bootstrap-reboot - Bootstrap Reboot CSS collection
  2. _breakpoints.scss - Bootstrap Breakpoints mixin (available only for sass and scss)
  3. bootstrap-grid (optional) - Bootstrap Grid collection

Caching

Rename ht.access to .htaccess before place it in your web server. This file contain rules for htaccess resources caching.

Helpers

font-weight helper

  • 100 - Extra Light or Ultra Light
  • 200 - Light or Thin
  • 300 - Book or Demi
  • 400 - Regular or Normal
  • 500 - Medium
  • 600 - Semibold or Demibold
  • 700 - Bold
  • 800 - Black or Extra Bold or Heavy
  • 900 - Extra Black or Fat or Ultra Blac

Issues

  1. Long Preprocessor compile: Disable the "safe write" option in PHPStorm settings.

project_template's People

Contributors

yochanes avatar

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.