Giter Club home page Giter Club logo

tanmoythander / angular-gulp-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 2.0 5.42 MB

Testing, Development and Building tool for angularJS front-end project. Quickly start your angularJS project, develope with flexibility using dev command line tools and build a deploy version with source minification.

License: MIT License

JavaScript 87.16% HTML 6.65% CSS 6.19%
angularjs-front angularjs gulp gulp-plugin gulp-tasks gulpjs gulpfile gulp-plugins gulp-starter gulp-task

angular-gulp-boilerplate's Introduction

Angular Gulp Boilerplate

Quickly start your angularJS project, develope with flexibility using dev command line tools and build a deploy version with source minification.

Installing on local machine

Please make sure you have node.js installed on your machine

If you don't have, click here

1. Check if you have it installed or not,

npm -v

and,

node -v

you should see some version info in return.

2. Install global packages

run on any directory,

npm install -g gulp-cli node-gyp

in case of mac or linux, you might need to mention "sudo"

3. Now go to the directory where you want to place the project files using git bash

(terminal for mac or linux) run the command,

git clone URL

here URL is the http url you get from the repository page, Click here to clone

4. now navigate to the project directory with cmd (terminal for mac or linux)

run the command,

npm install

wait for it to be completed. It usually takes 5-10 minutes to complete. It will download all the dependencies, build the project and serve the build on browser.

Using the gulp commands

1. Serve the source

File watching enabled (Development Mode)

gulp

You should see the browser window opening address http://localhost:3000 (opens another port if unavailable).

If you want to serve the source without watching file changes (Source Testing Mode), run this,

gulp serveSource

2. Build the source

Build the source code into ./_build (Deployment Mode)

gulp build

Warning: It will delete previous build !!!

3. Serve the build

Serve the ./_build/ without watching file changes (Build Testing Mode)

gulp serveBuild

you should see the browser window opening address http://localhost:3000 (opens another port if unavailable).

Warning: It will delete previous build !!!

Developer Hint

Please change your editor configuration like below before you start development

Indent character: "\t" (tab)

Indent size: 2

Line endings: LF (unix)

See the live demo here

angular-gulp-boilerplate's People

Contributors

tanmoy-thander avatar tanmoythander avatar

Stargazers

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