[go: nahoru, domu]

Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 1.28 KB

README-SETUP.md

File metadata and controls

53 lines (41 loc) · 1.28 KB

Profile Website

  1. Installation
  2. Setup
  3. Run
  4. Deployment

Installation

  • Install NodeJS, Yarn, Bower, Angular-Cli, TypeScript

Setup

  • 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

Circle CL

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

  • 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"
          }
        }
      }