Sample Angular app based on the tour of heros for an Angular Lab.
NOTE: To share progress with other developers working on the lab fork this repo and clone your fork. This will allow you to execute git push
.
- Run
npm install -g npm
to upgrade your npm. (Optional) - Run
npm install -g @angular/cli@latest
to upgrade your angular-cli. (Optional) - Run
npm install @angular/cli@latest
to upgrade the angular-cli used by this project. (Optional) - Run
npm install
to install the app.
You can use the install-app.sh script to run all the installation steps above in one shot:
./bin/install-app.sh
NOTE: If angular-cli is not installed globally you can only use npm
to run, test and lint the project.
Run ng serve
or npm run start
.
Run ng test
or npm run test
.
Run ng e2e
or npm run e2e
.
Run tslint ./src/**/*.ts -t verbose
or npm run lint
.
Fork this repo and create a pull request.