Code Monkey home page Code Monkey logo

slush-yangular's Introduction

DEPRECATED!

use generator-yangular

slush-yangular Build Status Dependency Status

A slush generator for AngularJS using Bootstrap and Less based on the AngularJS generator for Yeoman.

Installation

Install slush-yangular globally:

npm install -g slush-yangular

Remember to install slush globally as well, if you haven't already:

npm install -g slush

Usage

Create a new folder for your project:

mkdir my-angular-app

Run the generator from within the new folder: Note name is optional

cd my-angular-app
slush yangular name

Tasks

To generate additional scripts and files. Based on the AngularJS generator for Yeoman:

slush yangular:view name
slush yangular:controller name
slush yangular:route name
slush yangular:directive name
slush yangular:filter name
slush yangular:service name
slush yangular:factory name
slush yangular:constant name

Gulpfile

The gulpfile is based on the gulp-webapp generator for Yeoman

Development

To start developing in your new generated project run: Note --open is optional. This argument opens the browser

gulp serve --open

Then head to http://localhost:9000 in your browser.

The serve task starts a static file server, which serves your AngularJS application, and a watch task which watches your files for changes and lints, builds and injects them into your index.html accordingly.

Testing

To run Karma tests:

gulp test

Production ready build

To make the app ready for deploy to production run:

gulp build

Now you have a ./dist folder with all your scripts and stylesheets concatenated and minified, also third party libraries installed with bower will be concatenated and minified into vendors.min.js and vendors.min.css respectively.

Documentation

To generate ngDocs:

gulp docs

Now you have a ./docs folder with all the generated documentation in a format that can be hosted.

slush-yangular's People

Contributors

loetjvr avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

anselanza

slush-yangular's Issues

Error in documentation

In installation instructions, you talk about install globally twice. I think the second one is meant to refer to installing locally?

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.