How to deploy this project and start working with the samples. - FadiZahhar/switchingtoangular2 GitHub Wiki

this project was taking from the switching to angular2 book. The community build a standard boilerplate to start using angular2. it is simple.

the pakage.json have all the needed modules that will fetch from node package management system. the ignore file will ignore the files that don't need to be on the github repository. the tsconfig is a configuration file for the type script to know how to handle type script while compiling. the tools folder have the needed tools such node server backend that will run while you type npm start. it will create a host and make gulp run successfully in running all the needed tools. gulp.js is the task manager tool that is set for you to make sure that evrething needed for angular2 is well set and runing smoothly.

so to start deploying it to your machine simple do the following. 1- search on your windows node.js command prompt 2- right click it and run it on administrator mode (kind of sudo for unix enviroment) this will make sure that you have the needed privilages to install system configuration for gulp and global installations with no errors. 3- clone the project by git clone (copy paset the url that can be found on github) 4- enter the folder cd switchingtoangular2 5- once you are on the folder npm install 6- then you can do npm start

the browser will start with a url that once clicked you can find the hello world. now we can start playing with angular2.