You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Wrong exception logging of bitbucket project key pre flight check ([#655](https://github.com/opendevstack/ods-provisioning-app/issues/655))
18
20
- Show an error message when the component id does not match the regex expression ([#624](https://github.com/opendevstack/ods-provisioning-app/issues/624))
Copy file name to clipboardExpand all lines: client/README.md
+22-4Lines changed: 22 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,9 @@
2
2
3
3
## Status
4
4
5
-
This first version of the new frontend stack was introduced as an experimental feature within OpenDevStack 3.x ([original issue](https://github.com/opendevstack/ods-provisioning-app/issues/518)). It can be activated for users with a `frontend.spa.enabled` feature flag in Spring Boot.
5
+
This first version of the new frontend stack was introduced as an experimental feature within OpenDevStack 3.x
6
+
([original issue](https://github.com/opendevstack/ods-provisioning-app/issues/518)). It can be activated for users with a
7
+
`frontend.spa.enabled` feature flag in Spring Boot.
6
8
7
9
OpenDevStack NEXT will include this new frontend activated by default (without featue flag).
8
10
@@ -35,14 +37,27 @@ Doing this there's no need to run Spring Boot locally.
35
37
36
38
### 3. Test the setup
37
39
38
-
Run `yarn start:dev` and when it succeeded open `http://localhost:4200` in your browser. You should see the Angular app starting. The app will automatically reload if you change any of the source files.
40
+
Run `yarn start:dev` and when it succeeded open `http://localhost:4200` in your browser. You should see the Angular app starting. The app
41
+
will automatically reload if you change any of the source files.
39
42
40
43
## Development
41
44
42
45
### Dev Server
43
46
44
47
`yarn start:dev`: Starts a live reload dev server on `http://localhost:4200/`
45
48
49
+
### Dev Server with SSL localhost
50
+
51
+
Depending on the authentication strategy configured in Spring Boot it might be necessary to serve localhost over https so that the app
52
+
behaves correctly. Although not ideal, we discovered this as the most effortless solution in the time of writing.
53
+
54
+
1. Create a self-signed certificate and add it to your OS - we found
55
+
[this article](https://medium.com/@richardr39/using-angular-cli-to-serve-over-https-locally-70dab07417c8) quite helpful to set it up.
56
+
2. We recommend creating `sslcert` folder - the `.gitignore` file already includes this naming.
57
+
3. As mentioned in the article create a new script entry in `package.json`. We recommend naming it `start:dev:ssl`, like this:
`yarn build`: The build artifacts will be stored in the `dist/` directory. `yarn build:prod` will be used for the pipeline.
@@ -58,11 +73,14 @@ Run `yarn start:dev` and when it succeeded open `http://localhost:4200` in your
58
73
59
74
### Prettier
60
75
61
-
Prettier is used as a pre-commit hook to format js, json, md, ts files. Formatting of html files has been temporarily removed due to inflexibility in context of Angular component markup.
76
+
Prettier is used as a pre-commit hook to format js, json, md, ts files. Formatting of html files has been temporarily removed due to
77
+
inflexibility in context of Angular component markup.
62
78
63
79
## Contributions welcome!
64
80
65
-
We're happy if you'd like to contribute to the further development of the new frontend client. Feel free to check the [existing issues tagged with "frontend-spa"](https://github.com/opendevstack/ods-provisioning-app/labels/frontend-spa) or add a new issue there.
81
+
We're happy if you'd like to contribute to the further development of the new frontend client. Feel free to check the
82
+
[existing issues tagged with "frontend-spa"](https://github.com/opendevstack/ods-provisioning-app/labels/frontend-spa) or add a new issue
0 commit comments