GithubHelp home page GithubHelp logo

hyyan / brunch-with-hyyan Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 5.0 46 KB

Brunch With Bower , Bootstrap Sass And jQuery

License: MIT License

JavaScript 6.52% HTML 8.26% CSS 79.01% CoffeeScript 3.82% Ruby 2.39%

brunch-with-hyyan's Introduction

Brunch With Bower , Bootstrap Sass And jQuery

project status dependency Status MIT licensed

HTML5 application, built with Brunch, Bootstrap Sass And jQuery

Getting started

  • Install (if you don't have them):
    • Node.js: brew install node on OS X
    • Brunch: npm install -g brunch
    • Bower: npm install -g bower
    • Brunch plugins and Bower dependencies: npm install.
  • Run:
    • npm start — watches the project with continuous rebuild. This will also launch HTTP server with pushState.
    • npm test - Run you tests inside test folder using karam and mocha
    • brunch watch --server — watches the project with continuous rebuild. This will also launch HTTP server with pushState.
    • brunch build --production — builds minified project for production
  • Learn:
    • public/ dir is fully auto-generated and served by HTTP server. Write your code in app/ dir.
    • Place static files you want to be copied from app/assets/ to public/.
    • Place styles in app/scss/styles to be compiled to public/css/app.css
    • Place styles in app/scss/styles-rtl to be compiled to public/css/app-rtl.css
    • Place styles in app/scss/editor to be compiled to public/css/editor.css
    • Place styles in app/scss/editor-rtl to be compiled to public/css/editor-rtl.css
    • Place javascripts in app/scripts to be concatenated to public/js/app.js
    • Brunch site
    • Sass site
    • Bootstrap site

How To Use With Wordpress

You can use the Brunch Wordpress Theme starter theme , which make use of all features of this skeleton in wordpress context.

brunch-with-hyyan's People

Contributors

hyyan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

brunch-with-hyyan's Issues

How to combine this and WordPress

I'm really glad that there is a Brunch skeleton that can work with WordPress, but you aren't very explicit on how to integrate the two. How does it work for you? Where do I build my Brunch project or where to I install WordPress? Do I still use MAMP or another PHP/MySQL local server to view the site or do I use the Brunch server?

Additional js libriarias

First full great thanks for your work!
I have a problem with additional js libraries. I will try to store them in app/assets/scripts folder , but the compiling process compile index.js file first and after other files. As result - all functions from additional files don't work, because of lately including.

http://take.ms/QrE4p - file structure and additional js library (jquery plugin)
http://take.ms/loWqY - index.js
and compiled app.js http://take.ms/Kq3sB - you can see that the initialization of slick is before the slick library code includes(

Do you have any ideas how to fix it ?

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.