Coder Social home page Coder Social logo

gs-ui-infra's Introduction

Build Status

To set up projects like this one do the following:

  1. Install ruby (I used 1.8)
  2. gem install compass
  3. install node
  4. npm -g install yo (this installs grunt and bower as well).
  5. npm -g install generator-express-angular
  6. Create an empty project in github
  7. cd to that project
  8. run yo express-angular

tweaks made to the "express-angular" template

  1. I modified some "src" tags from "component/..." to "bower_component/..." - seems like a minor bug.

Working with this project

  1. grunt server - runs the server with "watch" capabilities (it reloads when you change the scss files).
  2. IDEs should ignore the following folders
  3. dist
  4. .tmp
  5. .sass-cache
  6. node_modules

Adding new angular items

To add new angular items such as "directive" or "controller" etc.. You need to use yeoman generators. Since we used "https://npmjs.org/package/generator-express-angular" to generate this project you can freely use all supported generators for angular.

For example - a new directive should be made with yo angular:directive myDirectiveName

This will create the directive file and a test file.

Remote debug

Thanks to stackoverflow's answer http://stackoverflow.com/a/13443026/1068746

You can easily remote debug node with the flag --debug-brk.

Since Grunt is usually executed directly grunt args - to debug it you need to do node --debug-brk /full/path/to/grunt myTask

gs-ui-infra's People

Contributors

eliranmal avatar erezcarmel avatar guy-mograbi-at-gigaspaces avatar itsikm avatar sefigiga 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.