Git Product home page Git Product logo

angular-bootstrap's Introduction

AngularJS Bootstrap Application

Skeleton AngularJS Application, all you need to start an AngularJS Application, basic tools to build an awesome angular application is included here, build tool using Gulp, Front End Package managment using Bower, JSHint for javascript code linting, and angular-ui-router for state redirects, but you can still use the default location provider by angular that uses "hashbang" url by setting it on app configuration file.

Requirements

Steps

  1. Clone this repository, or just fork it then clone it from your repository.
  2. cd /angular-bootstrap.
  3. Execute this command sudo npm install to install node modules.
  4. Execute this command bower install to install bower components.
  5. Now let's start installing bower components to /application/vendor by running this command gulp install.
  6. Then Ola! You can now start developing by runnung gulp

Gulp file available task

  • gulp default gulp task that runs gulp watch task.
  • gulp watch production watcher task.
  • gulp watch-dev development watcher task.
  • gulp install bower components installer to /application/vendor folder.
  • gulp clean-vendor removes all the vendor files from /application/vendor folder.
  • gulp build creates a minified rev-versioned file to /application/build folder
  • gulp clean removes or cleans the /application/build directory.
  • gulp inject automatically injects angular files, scripts, styles, and vendor files to tag of index.html file.
  • gulp inject-dev injects development files, all the files that are not minified. except minified vendor files.
  • gulp inject-clean remove all injected files to tag of index.html file.
  • gulp lint runs jshint with styled reporter.
  • gulp deploy runs deployment task in sequence. e.g install, clean, build, inject-clean, inject.
  • gulp deploy-dev runs developement deployment task in sequence. e.g install, clean, inject-clean, inject-dev.
  • gulp minify-controllers generates minified rev-versioned angular controllers.
  • gulp minify-components generates minified rev-versioned angular components.
  • gulp minify-decorators generates minified rev-versioned angular decorators.
  • gulp minify-services generates minified rev-versioned angular services.
  • gulp minify-scripts generates minified rev-versioned /assets/scripts.
  • gulp minify-styles generates minified rev-versioned /assets/styles.

Tips

If you are developing in development environment, just run gulp watch-dev and it will do all the development environment task, for production development / deployment just run gulp or gulp watch and it will do all the production task you need.

angular-bootstrap's People

Contributors

cjzamora avatar

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.