This is an automated email from the ASF dual-hosted git repository.
martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva.git
The following commit(s) were added to refs/heads/master by this push:
new b1c436a Adding setup documentation for angular
b1c436a is described below
commit b1c436ae55fe1f3add627719ec9a580e74d8edf3
Author: Martin Stockhammer <[email protected]>
AuthorDate: Thu Nov 5 11:14:34 2020 +0100
Adding setup documentation for angular
---
.../archiva-webapp/src/main/archiva-web/README.md | 44 ++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git
a/archiva-modules/archiva-web/archiva-webapp/src/main/archiva-web/README.md
b/archiva-modules/archiva-web/archiva-webapp/src/main/archiva-web/README.md
index 2953beb..1714eee 100644
--- a/archiva-modules/archiva-web/archiva-webapp/src/main/archiva-web/README.md
+++ b/archiva-modules/archiva-web/archiva-webapp/src/main/archiva-web/README.md
@@ -3,6 +3,50 @@
This project was generated with [Angular
CLI](https://github.com/angular/angular-cli) version 10.0.1.
## Usage instructions
+
+### Setup environment
+
+You need npm and nodejs, the nodejs version must be at least 10.x or 12.x
+
+Install ng client:
+```shell script
+:> nodejs --version
+v12.19.0
+:> npm --version
+6.14.8
+
+npm install -g @angular/cli
+
+cd src/main/archiva-web
+npm install
+
+ng --version
+Angular CLI: 10.2.0
+Node: 12.19.0
+OS: linux x64
+
+Angular: 10.2.0
+... animations, cli, common, compiler, compiler-cli, core, forms
+... platform-browser, platform-browser-dynamic, router
+Ivy Workspace: Yes
+
+Package Version
+---------------------------------------------------------
+@angular-devkit/architect 0.1002.0
+@angular-devkit/build-angular 0.1002.0
+@angular-devkit/core 10.2.0
+@angular-devkit/schematics 10.2.0
+@schematics/angular 10.2.0
+@schematics/update 0.1002.0
+rxjs 6.6.3
+typescript 3.9.6
+
+```
+After that, there should be a node_modules directory in the working directory
and the ng client
+should be runnable.
+
+
+
### 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.