Giter Site home page Giter Site logo

asap_s-new's Introduction

ASAP_s

DOCUMENTATION IN PROGRESS

A gulp boiler plate for a wordpress theme

Features

Prerequisite

Installation

Clone into Themes directory

git clone http://github.com/geekster909/asap_s-new.git <project-name>
  • remove .git directory in new theme directory (delete or run command sudo rm -rf .git)

Navigate to theme directory and install Node Packages

npm install

Configuration

  1. 5-step find and replace on the name in all the templates

    • Search for: 'asap_s' and replace with: '<project-name>' (inside single quotations) to capture the text domain.
    • Search for: asap_s_ and replace with: <project-name>_ to capture all the function names.
    • Search for: Text Domain: asap_s and replace with: Text Domain: <project-name> in style.css.
    • Search for:  asap_s and replace with:   (with a space before it) to capture DocBlocks.
    • Search for: asap_s- and replace with: <project-name>- to capture prefixed handles.
  2. Update BrowserSync proxy

     proxy: 'local.<project-name>.com'
    

Usage

gulp command for developing

gulp compile command for compiling (scss, js, images)

CSS Workflow
  • assets/styles/scss/*.scss => dist/styles/styles.css
  • assets/styles/vendor/*.css => dist/styles/vendor.css
JavaScript Workflow
  • assets/scripts/.js => dist/scripts/.min.js
  • assets/scripts/vendor/*.js => dist/scripts/vendor.min.js
Image Workflow
  • assets/images/* => dist/images/*

Images

all images in /assets/images/ - will get minified

BowerSync

set local url

Watching

scss changes

js changes

image changes

asap_s-new's People

Contributors

justin-bond avatar ramonemunoz avatar

Watchers

 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.