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
Copy file name to clipboardExpand all lines: admin/src/main/ts/README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,15 @@
2
2
3
3
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.3.19.
4
4
5
-
## Development server
5
+
## Development with proxy server
6
6
7
7
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.
8
-
If you want to be connected to a remote server instead of you local springboard you can use the `.proxyRemoteConfig.template.js` copy the file and remove the `.template` so the `proxy-devepment.config.js` will be able to use it when you run `ng serve`.
8
+
9
+
To connect to a remote server instead of your local springboard, create a `.env` file in this directory with your credentials:
10
+
11
+
**Option 1 — automatic (recommended):** use [dev-auth-fetcher](https://github.com/edificeio/dev-auth-fetcher) which handles authentication and generates the `.env` automatically.
12
+
13
+
**Option 2 — manual:** copy `.env.template` to `.env` and fill in `VITE_RECETTE`, `VITE_XSRF_TOKEN` and `VITE_ONE_SESSION_ID`, then run `ng serve`.
0 commit comments