Git Product home page Git Product logo

workflow-folder's Introduction

Web Workflow (lighter new & improved!)

Overview:

Takes care of processing Sass, combining scripts and loading frameworks like Bootstrap, JQuery and Angular with
Grunt.js using npm and bower. Sass, Compass and Susy using bundle(ruby).

Links to resources:

๐Ÿ”– jQuery library

๐Ÿ“ฆ Plugins Included:
grunt-contrib-concat, grunt-contrib-connect, grunt-contrib-uglify, grunt-open,
grunt-contrib-watch, grunt-contrib-compass, grunt-watch, grunt-connect with livereload matchdep, grunt-contrib-compass, grunt-cache-breaker, grunt-contrib-clean

workflow-folder screenshot


## 1๏ธโƒฃ Public/builds folder

1.1 public/['js'][sass]/, index.html => files to be process
1.2 public/builds/ => files processed
1.3 node_modules,bower_components (normally .ignore)


## 2๏ธโƒฃ Sass ( using bundler)

1.1 create a Gemfile with:

             source 'https://rubygems.org'                           
             gem 'sass'
             gem 'compass'
             gem 'susy'

1.2 create config.rb

            require 'susy'

            css_dir = '/public/builds/css'
            sass_dir = '/public/sass'
            javascript_dir = '/public/js'
            output_style = :expanded

1.3 create Gemfile

             source 'https://rubygems.org'
             gem 'sass'
             gem 'compass'
             gem 'susy'

1.4 type $ gem install bundler bundle install

1.5 type npm install & bower install


3๏ธโƒฃ Grunt

3.1 run each command individually.
โ–ซ๏ธ Ex. grunt watch or grunt uglify

3.2 run them all with default task.
โ–ซ๏ธ Ex. grunt
โ–ซ๏ธ view: http://localhost:9001



## 4๏ธโƒฃ Installation:

4.1 Download or clone this repository to a directory:
โ–ซ๏ธ Mac or Windows: workflow-folder

4.2 Install dependencies


[:top:](https://github.com/stefan22/workflow-folder/blob/master/README.md)

workflow-folder's People

Contributors

stefan22 avatar

Watchers

 avatar  avatar

Forkers

saeef

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.