@flarehr/workflows-app 0.1.3106 → 0.1.3107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +59 -0
- package/dist/Tests.fs.js +304 -0
- package/dist/Tests.fs.js.map +1 -0
- package/package.json +22 -23
- package/LICENCE +0 -1
- package/dist/tests.js +0 -4029
- package/dist/workflows-app.css +0 -2
- package/dist/workflows-app.js +0 -2
- package/dist/workflows-app.js.LICENSE.txt +0 -5
package/README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Workflows.UI
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
To install the project's dependencies, run the following commands:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
dotnet tool restore
|
|
9
|
+
dotnet restore
|
|
10
|
+
npm install
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Development
|
|
14
|
+
|
|
15
|
+
To start the development server, run the following commands:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm start
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Instructions for local development with local backend
|
|
22
|
+
|
|
23
|
+
1. Start your local Workflows Function app
|
|
24
|
+
2. Set `data-backend-url` in `src\Workflows.UI\content\index.dev.html` to your local Function app URL, e.g. `http://localhost:7071`
|
|
25
|
+
3. Set `data-identity-url` in `src\Workflows.UI\content\index.dev.html` to the local front end dev server e.g. `http://localhost:8080`
|
|
26
|
+
|
|
27
|
+
**NOTE:**
|
|
28
|
+
Requests to Flare Identity will be proxied via the dev server
|
|
29
|
+
|
|
30
|
+
4. Uncomment and modify the header values in `sendWithRetry` function in `src\Workflows.UI\src\Workflows\Services\BackendService.fs`
|
|
31
|
+
5. Run the `start` command to build and watch for the UI changes:
|
|
32
|
+
```
|
|
33
|
+
npm run start
|
|
34
|
+
```
|
|
35
|
+
6. Launch the workflows app by using one of the scripts located in the `launch-scripts` folder.
|
|
36
|
+
See the readme file located within for instructions on how to used the scripts.
|
|
37
|
+
|
|
38
|
+
### Instructions for local development with Autodev backend
|
|
39
|
+
|
|
40
|
+
1. Set `data-backend-url` in `src\Workflows.UI\content\index.dev.html` to Autodev URL, e.g. `https://autodev-partner.flarehr.com`
|
|
41
|
+
2. Set `data-identity-url` in `src\Workflows.UI\content\index.dev.html` to the local front end dev server e.g. `http://localhost:8080`
|
|
42
|
+
|
|
43
|
+
**NOTE:**
|
|
44
|
+
Requests to Flare Identity will be proxied via the dev server
|
|
45
|
+
|
|
46
|
+
3. Run the `start` command to build and watch for the UI changes:
|
|
47
|
+
```
|
|
48
|
+
npm run start
|
|
49
|
+
```
|
|
50
|
+
4. Launch the workflows app by using one of the scripts located in the `launch-scripts` folder.
|
|
51
|
+
See the readme file located within for instructions on how to used the scripts.
|
|
52
|
+
|
|
53
|
+
## Build
|
|
54
|
+
|
|
55
|
+
To build the project, run the following commands:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
npm run build
|
|
59
|
+
```
|