https://github.com/flight/f1
Formula 1 Results (Angular 6 covered with unit and e2e tests)
https://github.com/flight/f1
angular-material angular6 typescript2
Last synced: 5 months ago
JSON representation
Formula 1 Results (Angular 6 covered with unit and e2e tests)
- Host: GitHub
- URL: https://github.com/flight/f1
- Owner: Flight
- Created: 2018-09-24T10:58:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-16T10:37:52.000Z (over 7 years ago)
- Last Synced: 2025-04-05T16:48:11.493Z (about 1 year ago)
- Topics: angular-material, angular6, typescript2
- Language: TypeScript
- Homepage: https://flight.github.io/f1/
- Size: 503 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# F1 [](https://travis-ci.org/Flight/f1)
[Link to test on github pages](https://flight.github.io/f1/).
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.1.5.
It uses [Angular Material](https://material.angular.io/) version 6.4.7.
## To run the project
Install NodeJS: https://nodejs.org/en/
Then run those commands in your terminal:
`npm install -g @angular/cli`
`npm install`
`ng serve --open`
## Build
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.
For poduction build:
`ng build --prod --base-href /f1/`
## To push changes to github pages
`git subtree push --prefix dist/f1 origin gh-pages`
## 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.
## 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`.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).