Skip to content

fadziljusri/hello-angular

Repository files navigation

Hello Angular

Angular 6 dashboard boilerplate. This project was generated with Angular CLI version 6.1.5.

Getting Started

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.

1. Installing

npm install

2. Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

3. Code scaffolding

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.

4. Build

Run ng build to build the project. The build artifacts will be stored in the docs/ directory. You can change this in angular.json file. Use the --prod flag for a production build.

5. Running unit tests

Run ng test to execute the unit tests via Karma.

6. Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

7. Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Credits