@flarehr/workflows-app 3.40.1 → 3.41.0
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/package.json +1 -1
- package/README.md +0 -55
package/package.json
CHANGED
package/README.md
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
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
|
-
1. set `data-backend-url` in `src\Workflows.UI\content\index.dev.html` to your local Function app URL, e.g. `http://localhost:7071`
|
|
25
|
-
1. uncomment the line in `src\Workflows.UI\src\Auth\AuthenticationService.fs`:
|
|
26
|
-
```
|
|
27
|
-
// Uncomment to enable local debugging
|
|
28
|
-
let redirectUri = "https://autodev-partner.flarehr.com/workflows/embed/v1.0/app" |> encodeURIComponent
|
|
29
|
-
```
|
|
30
|
-
1. uncomment and modify the header values in `sendWithRetry` function in `src\Workflows.UI\src\Workflows\Services\BackendService.fs`
|
|
31
|
-
1. start the workflows app
|
|
32
|
-
|
|
33
|
-
### Instructions for local development with Autodev backend
|
|
34
|
-
|
|
35
|
-
1. uncomment the line in `src\Workflows.UI\src\Auth\AuthenticationService.fs`:
|
|
36
|
-
```
|
|
37
|
-
// Uncomment to enable local debugging
|
|
38
|
-
let redirectUri = "https://autodev-partner.flarehr.com/workflows/embed/v1.0/app" |> encodeURIComponent
|
|
39
|
-
```
|
|
40
|
-
1. run the `start` command to build and watch for the UI changes:
|
|
41
|
-
```
|
|
42
|
-
npm run start
|
|
43
|
-
```
|
|
44
|
-
1. start the workflows app by running the .fsx script:
|
|
45
|
-
```
|
|
46
|
-
dotnet fsi Run-App-Autodev.fsx
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
## Build
|
|
50
|
-
|
|
51
|
-
To build the project, run the following commands:
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
npm run build
|
|
55
|
-
```
|