- node latest stable version
- angular cli latest stable vesion
- npm latest stable version
*Installation(#installation) *Updating(#Updating your angular version) *Usage(#Usage selkie_frontend)
- Install node js
- Install npm
Install angular globaly using npm
npm install -g angular-cli
npm uninstall -g angular-cli
npm cache clean
npm install -g angular-cli
git clone https://github.com/WThamira/selkie_frontend
cd selkie_frontend
npm install
Edit your web api base url to the Proxy.conf.jsons file web api base url is http://localhost:8090/api in the following
{
"/": {
"target": "http://localhost:8090/api",
"secure": false
}
}
If You want to configure oath 2 for your specifcations move into the
selkie_frontend/src/app/login/login.component.ts
observe
login : Login={
username:"",
password:"",
grant_type:"password",
client_id:"2",
client_secret:"ZACAZyPfwyGdhtvhr6ARaZFzWn0uPaDXi7RSCBIb",
}
change the client_id and client_secret for your specifications
npm start
For updating versions The module n makes version-management easy:
sudo npm install n -g sudo n 0.12.2
For the latest stable version:
sudo n stable For the latest version:
sudo n latest
you can view the application through this link