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: README.md
+8-39Lines changed: 8 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,60 +37,29 @@ mvn exec:exec
37
37
this should be the same as Linux & macos just with windows adjusted paths
38
38
```
39
39
40
-
### Layout Server
41
-
42
-
Layout management requires persisting layouts. Layouts can either be persisted locally or remotely. The remote implementation requires spinning up a Springboot server instance, but is more robust and reflective of a real-world application.
43
-
44
-
#### Choosing local or remote
45
-
46
-
Changing whether local/remote is used is configured with the following flag:
47
-
48
-
1. Open `finos-vuu\vuu-ui\showcase\vite.config.js` (for Showcase), or `finos-vuu\vuu-ui\sample-apps\app-vuu-example\esbuild.mjs` (for sample app)
49
-
2. Set `"process.env.LOCAL"` flag to `true` for local, or `false` for remote
50
-
51
-
The local implementation is default. It uses browser local storage. If you have chosen the remote implementation, ensure you are running the remote server.
52
-
53
-
#### Running the remote server
54
-
55
-
You can run the remote server from IntelliJ or via CLI. Once running, use `http://localhost:8081/api/swagger` to review endpoints and contracts. It uses an in-memory H2 database, and can be accessed at `http://localhost:8081/api/h2-console`.
56
-
57
-
##### CLI
58
-
59
-
```sh
60
-
#from top-level vuu repo (not vuu child directory in repo)
61
-
cd layout-server
62
-
mvn spring-boot:run
63
-
```
64
-
65
-
##### From IntelliJ
66
-
67
-
1. Follow steps 3-5 outlined in 'Configuring IntelliJ' below
68
-
2. Select 'LayoutServer' config and click run
69
-
70
-
## Configuring IntelliJ
40
+
#### Configuring IntelliJ
71
41
72
42
You may prefer to run the backend using the IntelliJ IDE, if so, you will need to follow the Client Installation above to ensure that the project has built correctly.
73
43
74
44
1. Install the Scala plugin: file -> settings -> plugins
75
-
2. Install Scala 2.13.10
76
-
3. Set project SDK version to 17: file -> project structure -> select an SDK -> require version 17
0 commit comments