Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Latest commit

 

History

History
49 lines (36 loc) · 1.59 KB

README.md

File metadata and controls

49 lines (36 loc) · 1.59 KB

VoteWise

While transitioning...

  • Be sure to leave the transitioning folder in the repo. That folder is for moving the assets from the front end back into the project properly.

Generator

https://github.com/mcfly-io/generator-mcfly

Development

Install npm install -g generator-mcfly (along with Yeoman if you don't already have it)

Here are some of the Yo commands:

yo mcfly:module (module)
yo mcfly:controller (modulename) (controllername)
yo mcfly:directive (modulename) (directive)
yo mcfly:service (modulename) (servicename)

For more commands, see: https://github.com/mcfly-io/generator-mcfly/blob/master/README.md

Gulp Tasks

gulp help           # List the main gulp tasks
gulp lint           # Run lint
gulp test           # Run lint, unit tests, and e2e tests
gulp unit           # Run lint and unit tests (karma for client + mocha for server)
gulp karma          # Run karma client unit tests
gulp mocha          # Run mocha server unit tests
gulp e2e            # Run protractor for end to end tests
gulp browserify     # Generate a distribution folder using browserify
gulp webpack:run    # Generate a distribution folder using webpack
gulp style          # Generate a main.css file
gulp browsersync    # Creates a browser-sync server, it will display its url, it watches for js / css / scss / html file changes and inject automatically the change in the browser
gulp dist           # Distribute the application

Usage

Testing

Changelog

Recent changes can be viewed on Github on the Releases Page

License