All Categories

  • Gulp ASP.NET MVC 4.5.2 Template and Browserify

    4/2/2016 -
    How to Use Gulp ast ASP.NET MVC 4.5.2 Template Using Gulp - Microsoft Setting up Gulp and Bower for an Asp.Net MVC project in Visual Studio 2013 How to use Gulp in Visual Studio Advanced AngularJS structure with Gulp, Node and Browserify Using Grunt/Gulp for Bundling and Minification in ASP.NET Migrating From ASP.
    gulpASP.NETASP.NET MVCNode.jsAngular.js
  • module is not Recognized as an Internal or External Command

    4/3/2016 -
    You'll often see following error when running npm command at windows OS system. 'Gulp' is not recognized as an internal or external command, operable program or batch file. 'Bower' is not recognized as an internal or external command, operable program or batch file. 'yo' is not recognized as an internal or external command, operable program or batch file. Basically you have to add to Path to Environment Variables's Path. How to enable gulp? For gulp, you will have to add following path to Path System Variables, so command line will recognize npm's global path. Also install gulp so run command as gulp will be recognized. At the end, you'll have to restart the command line if you have not restart command line after change the system variables.
  • Start Use Gulp and Browserify to Build Angular App with Node.js

    4/2/2016 -
    Use Gulp, Gulp Plugins and Browserify to build Angular app This sample app use following technologies. Node.js Angular.js Browserify Gulp gulp-connect gulp-ng-annotate The files structure will be following, also you can check the sample code at Github. After you download the code, run following command should be able to start your app. The fisrt command will install all the node.js dependecy modules, and second command will run the gulp task defined at gulpfile.js npm install -d gulp App folder are all the client side file for build angular app. Gulpfile contains all the client side task build. Index.html is the html page will be request by the client, also contains the angular app.
  • Few Commands About Use Git to Commit to GitHub

    4/2/2016 -
    How to Use git to commit to GitHub Following example is for windows enviroment and command is use windows' Command Prompt. First you need to setup the git's user and email, check the current user and email by run following command. > git config --list If the or user.emailis not there, try run following command to set username and email address. > git config --global "test" > git config --global "" Now, you're ready for git check-in locally, if you type git commit -m "test commit" for commit. Type git log, you'll see the log history of the git commit. Init Git Run this command to initialize the git. > git init Git local commit > git add .
  • Few Useful Command Line Commands for Node.js

    4/16/2016 -
    Few commands --save-dev install npm module and update package.json file. npm install --save-dev gulp-zip npm init will help you to create package.json file. npm init bower init will help you through to create bower.json file. bower init dirlist all directory under current path dir intall all the module at package.json. npm install -d Few my favorite node modules gulp-ssh use ssh, but you have to setup ssh at the server first. npm install --save-dev gulp-ssh gulp-zip use zip, module to create zip.