This project was generated with Angular CLI version 1.6.5.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Install Node.js® and npm if they are not already on your machine.
Make sure you have installed at least Node.js 8.x or greater and npm version 5.x or greter. In terminal/console window, run
node -v
andnpm -v
to check your installed version.
Set up the Development Environment by install the Angular CLI globally.
npm install -g @angular/cli
Clone project into local environment.
git clone https://github.com/nya429/ubq-front-app.git
Install project by run:
npm install
For a dev server run:
ng serve
Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
To switch between your local api server and the api server hosted on Amazon EC2, set option in src/app/shared/httpCfg.ts.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.