- Install NodeJS, Yarn, Bower, Angular-Cli, TypeScript
- Run
yarn install
from root directory - Set Environment variables, api urls in
src/environments/environments.ts
file - Add additional Javascript/jQuery plugins in
.angular-cli.json
file
CircleCI integrated with application. All configuration can be found in .circleci
folder. Automatic heroku deployment added to CircleCI, issues may be there with Heroku, it will solve later..
- Run
ng serve
package.json
"scripts": {
"ng": "ng",
"start": "ng serve --port=9000",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
}
angular.json
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "sibin-profile:build",
"port": 7200
},
"configurations": {
"production": {
"browserTarget": "sibin-profile:build:production"
}
}
}