Sing App AngularJS v4.4.0
Since 2.0.0 update Angular version has been fully automated; you only need to run a bunch of commands to have application set up and running. Here is the list:
Make sure you have node installed;
Then open a terminal (console) and navigate to your project folder
Install required libraries: gulp (for automation) and bower (for front end package management):
npm install -g bower gulp;
npm installto install node dependencies defined in package.json;
bower installto install bower dependencies defined in >bower.json;
gulp serveto run a tiny web server that will serve files from the project directory (sass, js and html files will be being watched for changes by gulp so you don't need to trigger any command when you change your code - browser refresh will occur automatically);
Open http://localhost:3000/ in your browser to access the app.
That's it! Enjoy.
For a deeper dive, there are also other gulp tasks which automate common routines:
gulp build- builds a production version of the application. All html/css/js code is minified and put to
distfolder. The contents of this folder you will want to put to your production server when publising the application;
gulp clean- cleans
.tmpfolders. Run when it becomes too messy;
gulp serve:dist- same as
gulp serve, but serves files from
distfolder. Useful when testing production code.
Same instructions are applied for angular-seed version.