mgr-gulp-angular-template

1.0.0 • Public • Published

mgr-gulp-angular-template

Installation

$ git clone https://github.com/Magora-Systems-Frontend/template.git

This template requires gulp ang bower

Install the plugins

$ npm i -g gulp

$ npm i -g bower 

$ npm i

Technologies

  • jade for templates
  • stylus for css

The application includes

  • ui.router
  • ui.bootstrap
  • angular-loading-bar
  • pascalprecht.translate
  • ngResource

Run project

$ gulp

Create build for production

$ gulp build --env=production

Multi applications

If you need to make two applications are independent of the code, create a second folder. put into it "config.json"

$ mkdir secondApp 
$ copy application/config.json  secondApp/config.json

$ gulp --config=secondApp

Stage and production

If you need to make inquiries on the "stage" and "production" servers

$ gulp --server=staging.my.com --protocol=http
$ gulp --server=production.my.com --protocol=https

In your js code use {{SERVER}} and {{protocol}}

defaults:

  • SERVER = localhost:8090

  • protocol = http

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    0

Package Sidebar

Install

npm i mgr-gulp-angular-template

Weekly Downloads

0

Version

1.0.0

License

none

Last publish

Collaborators

  • dmitriy_kalyuk