Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com> Co-authored-by: Anthony V <anthonyv156@outlook.com> Co-authored-by: Choi Wing Ip <choiip@gmail.com> Co-authored-by: Duarte Silva <smallflake@protonmail.com> Co-authored-by: Frozehunter <frozehunter@me.com> Co-authored-by: Gioele Gambato <gioele.gambato@gmail.com> Co-authored-by: Gregory.Open <gregory.open@proton.me> Co-authored-by: Havokdan <havokdan@yahoo.com.br> Co-authored-by: Henrique Oliveira <ho.henrique@proton.me> Co-authored-by: Hien <hienly@yandex.com> Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Jean Lannoy <radiotib@gmail.com> Co-authored-by: Jonathan M <larrikin@duck.com> Co-authored-by: LeeWan1210 <dldhks456@live.com> Co-authored-by: Lyrq <lyrq.ku@gmail.com> Co-authored-by: MEGA <krummhaar@posteo.de> Co-authored-by: Mateusz <mateuszvx8.96@gmail.com> Co-authored-by: Matěj Kubla <matykubla@gmail.com> Co-authored-by: Ramon Arthur <ramonarthur14@gmail.com> Co-authored-by: Yoan Jacquemin <yoanjacquemin@gmail.com> Co-authored-by: daydreamrabbit <devrabbit90@gmail.com> Co-authored-by: gallegonovato <fran-carro@hotmail.es> Co-authored-by: greyluked <yun.lawliet@gmail.com> Co-authored-by: majora2007 <kavitareader@gmail.com> Co-authored-by: simmon <simmon@nplob.com> Co-authored-by: 無情天 <kofzhanganguo@126.com> Translate-URL: https://hosted.weblate.org/projects/kavita/backend/cs/ Translate-URL: https://hosted.weblate.org/projects/kavita/backend/de/ Translate-URL: https://hosted.weblate.org/projects/kavita/backend/el/ Translate-URL: https://hosted.weblate.org/projects/kavita/backend/fr/ Translate-URL: https://hosted.weblate.org/projects/kavita/backend/ja/ Translate-URL: https://hosted.weblate.org/projects/kavita/backend/ko/ Translate-URL: https://hosted.weblate.org/projects/kavita/backend/pl/ Translate-URL: https://hosted.weblate.org/projects/kavita/backend/pt/ Translate-URL: https://hosted.weblate.org/projects/kavita/backend/vi/ Translate-URL: https://hosted.weblate.org/projects/kavita/backend/zh_Hant/ Translate-URL: https://hosted.weblate.org/projects/kavita/ui/ Translate-URL: https://hosted.weblate.org/projects/kavita/ui/cs/ Translate-URL: https://hosted.weblate.org/projects/kavita/ui/de/ Translate-URL: https://hosted.weblate.org/projects/kavita/ui/el/ Translate-URL: https://hosted.weblate.org/projects/kavita/ui/es/ Translate-URL: https://hosted.weblate.org/projects/kavita/ui/fr/ Translate-URL: https://hosted.weblate.org/projects/kavita/ui/ga/ Translate-URL: https://hosted.weblate.org/projects/kavita/ui/it/ Translate-URL: https://hosted.weblate.org/projects/kavita/ui/ja/ Translate-URL: https://hosted.weblate.org/projects/kavita/ui/ko/ Translate-URL: https://hosted.weblate.org/projects/kavita/ui/pl/ Translate-URL: https://hosted.weblate.org/projects/kavita/ui/pt/ Translate-URL: https://hosted.weblate.org/projects/kavita/ui/pt_BR/ Translate-URL: https://hosted.weblate.org/projects/kavita/ui/th/ Translate-URL: https://hosted.weblate.org/projects/kavita/ui/zh_Hans/ Translate-URL: https://hosted.weblate.org/projects/kavita/ui/zh_Hant/ Translation: Kavita/backend Translation: Kavita/ui |
||
|---|---|---|
| .. | ||
| .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 | ||
| 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-es lint/parser @angular/localize @angular/compiler-cli @angular/cli @angular-devkit/build-angular @angular/cdk