GithubHelp home page GithubHelp logo

angular-es6-material-design-kickstarter's Introduction

leapopt-ui

Overview

My Portal webapp

Technologies Used

Development

Pre-Install Steps

If you've never used Node or npm before, you'll need to install Node. If you use homebrew, do:

brew install node

Otherwise, you can download and install from nodejs.org.

Install Gulp

Gulp must be installed globally in order to use the command line tools. You may need to use sudo

npm install -g gulp

Alternatively, you can run the version of gulp installed local to the project instead with

./node_modules/.bin/gulp

Install npm dependencies

npm install

This runs through all dependencies listed in package.json and downloads them to a node_modules folder in your project directory.

Running Locally

gulp

This can also be accomplished by running npm start

Building

A single build can be executed by simply running:

gulp build

The build system will generate a minified build by running:

gulp build --production

This can also be run via npm run build.

Running Tests

If you want to mimic how the CI server runs tests, then you can simply run:

npm test

This will run the unit tests against PhantomJS and provide coverage reports in the reports directory. This is a single run instance of Karma.

If you are in a unit testing cycle, then run:

gulp test --grep=DIRECTORY

This will spin up an instance of PhantomJS and run the unit tests against those browsers. It will also set up a file watcher and re-run the tests whenever any of the sources or the test sources change.

The grep argument is optional and allows you to run just one module of unit tests. This can considerably speed up test execution time during development.

To perform a single run of the tests against PhantomJS only run:

gulp test --production --grep=DIRECTORY

angular-es6-material-design-kickstarter's People

Watchers

 avatar  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.