@finos/legend-application-repl-deployment 12.28.0 → 12.29.0

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -2,31 +2,24 @@
2
2
 
3
3
  This is the `Legend REPL` web application deployment. This is used for development locally
4
4
 
5
- ## Backend
5
+ ## Getting Started
6
6
 
7
- `Legend REPL` relies on:
7
+ 1. Start the REPL using [this guide](https://github.com/finos/legend-engine/blob/master/legend-engine-config/legend-engine-repl/README.md#developer-guide).
8
8
 
9
- - [Legend Engine](https://github.com/finos/legend-engine) [REPL Client](https://github.com/finos/legend-engine/blob/master/legend-engine-config/legend-engine-repl/legend-engine-repl-relational/src/main/java/org/finos/legend/engine/repl/relational/client/RClient.java).
9
+ - Use [DataCubeClient](https://github.com/finos/legend-engine/blob/master/legend-engine-config/legend-engine-repl/legend-engine-repl-data-cube/src/main/java/org/finos/legend/engine/repl/dataCube/client/DataCubeClient.java).
10
+ - Make sure to configure the properties to have the REPL point at the DEV web app:
10
11
 
11
- ## Getting started
12
-
13
- To quickly setup the backend, spin up `REPL Client` application:
14
-
15
- - In order to start the server, please use the `Main` class `org.finos.legend.engine.repl.relational.client.RClient`
16
- - This will open a new terminal in your IDE with REPL Client up and running. This will also print the port at which backend server for grid is running at.
17
- - If you wish to change the port for backend server (preferably 8080 as client assumes server runs at this port) please modify port here [REPL Grid Server](https://github.com/finos/legend-engine/blob/master/legend-engine-config/legend-engine-repl/legend-engine-repl-relational/src/main/java/org/finos/legend/engine/repl/relational/httpServer/ReplGridServer.java)
18
-
19
- Before spinning up the application make sure to run these commands on `REPL terminal` so that there is an initial query state for grid.
20
-
21
- ```bash
22
- load <path> <connection>
23
- #>{<db.table>}#->from(<connection>)
24
- show
25
12
  ```
13
+ # [DEVELOPMENT] Specify the base URL for the development instance of the web application
14
+ # this is needed to bypass CORS
15
+ -Dlegend.repl.dataCube.devWebAppBaseUrl=http://localhost:9005
26
16
 
27
- To know about more specific synatx of these commands type `help` on the REPL terminal.
17
+ # [DEVELOPMENT] By default, the port is randomized, but for development, the port needs
18
+ # to be fixed to allow the web application to connect to the REPL
19
+ -Dlegend.repl.dataCube.devPort=9006
20
+ ```
28
21
 
29
- Last but not least, make sure you have `Yarn` installed. Run the following commands in order.
22
+ 2. Start REPL web-application:
30
23
 
31
24
  ```bash
32
25
  yarn install
@@ -34,4 +27,4 @@ Last but not least, make sure you have `Yarn` installed. Run the following comma
34
27
  yarn dev:repl
35
28
  ```
36
29
 
37
- After setting up, visit http://localhost:9005/repl/grid and the application should be up and running.
30
+ Visit http://localhost:9005/repl/grid and the application should be up and running.
@@ -1,5 +1,5 @@
1
1
  {
2
- "buildTime": "2024-08-28T13:33:43.006Z",
2
+ "buildTime": "2024-08-28T19:04:14.752Z",
3
3
  "version": "0.0.0-local",
4
4
  "commitSHA": "local"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-repl-deployment",
3
- "version": "12.28.0",
3
+ "version": "12.29.0",
4
4
  "description": "Legend REPL web application deployment",
5
5
  "keywords": [
6
6
  "legend",