Co-authored-by: Adam Havránek <adamhavra@seznam.cz> Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com> Co-authored-by: Aziki126 <azukitwitter126@gmail.com> Co-authored-by: Boris Martinez <x93bd0@gmail.com> Co-authored-by: Dark77 <Dark77@pobox.sk> Co-authored-by: Deleted User <noreply+48943@weblate.org> Co-authored-by: Duarte Silva <smallflake@protonmail.com> Co-authored-by: Felipe Martin <me@fmartingr.com> Co-authored-by: Francesco Venturoli <f.venturoli@gmail.com> Co-authored-by: Frozehunter <frozehunter@me.com> Co-authored-by: Gergely Vida <vgere02@hotmail.com> Co-authored-by: Gregory.Open <gregory.open@proton.me> Co-authored-by: Havokdan <havokdan@yahoo.com.br> Co-authored-by: Mateusz <mateuszvx8.96@gmail.com> Co-authored-by: Ricky Tigg <ricky.tigg@gmail.com> Co-authored-by: Tobias Bell <github@tobiasbell.de> Co-authored-by: Wu Ying Ying <leverglowh@gmail.com> Co-authored-by: Yoan Jacquemin <yoanjacquemin@gmail.com> Co-authored-by: aleixcox <18121624@qq.com> Co-authored-by: gallegonovato <fran-carro@hotmail.es> Co-authored-by: haha4ni <haha4ni@hotmail.com> Co-authored-by: Андрій «900dfe11a» Пугач <andriy.ihorowych@gmail.com> Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com> Co-authored-by: 無情天 <kofzhanganguo@126.com> |
||
|---|---|---|
| .. | ||
| .github/workflows | ||
| src | ||
| .editorconfig | ||
| .eslintrc.json | ||
| .gitignore | ||
| angular.json | ||
| hash-localization-prime.js | ||
| hash-localization.js | ||
| LICENSE | ||
| minify-json.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| sync-locales.js | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.spec.json | ||
Kavita Webui
This project was generated with Angular CLI version 11.0.0.
Development server
Run npm run start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Your backend must be served on port 5000.
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.
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.
Running unit tests
Run ng test to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e to execute the end-to-end tests via Protractor.
Run npx playwright test --reporter=line or npx playwright test to run e2e tests.
Connecting to your dev server via your phone or any other compatible client on local network
Update IP constant in src/environments/environment.ts to your dev machine's ip instead of localhost.
Run npm run start
Notes:
- injected services should be at the top of the file
- all components must be standalone
Update latest angular
ng update @angular/core @angular/cli @typescript-eslint/parser @angular/localize @angular/compiler-cli @angular-devkit/build-angular @angular/cdk