This is some documentation about managing the packages and what is needed to get you up and running with this project.
- AngularJS: MVW framework
- JSPM.io: Browser package management built on top of ES6 module loader
- Babel Transpiler(known as 6to5 previously); turn your ES6+ code to ES5 friendly code)
- index.html: entry point of the SPA
- package.json: node module config file
- config.js: jspm configuration file
- app folder (under wwwroot) store all application JavaScript, css, img files.
- app.js single entry point to all application JavaScript files
There are some steps required before you can start work on this project:
-
Install the latest version of Node.Js http://https://nodejs.org/
-
Install the JSPM package manager - to do this, go to your command prompt and type:
npm install -g jspm
-
Install the jspm-server - to do this, go to your command prompt and type:
npm install -g jspm-server
go to an administrator command prompt and navigate to the root folder of this project and run:
jspm install
now you can see the SPA running by running the follwoing:
jspm-server
-
As we are getting some libraries from github if we get some error around github limits we have to run:
jspm registry config github //and follow the instructions
-
jspm has issues installing sometimes if the command prompt is running under administrator privileges. So make sure that you use a normal cmd, navigate to the project's folder and then run the above commands.