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: server/api-service/README.md
+15-9Lines changed: 15 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,16 @@ The contents should look like this:
58
58
59
59
Important is here the command -Dspring.profiles.active= - as it is responsible for the selection of the right apllication settings file too.
60
60
61
+
## Build locally
62
+
63
+
Next action is to build the project, so all lowcoder-plugins are built. This is a precondition for the lowcoder-server to start.
64
+
65
+
```shell
66
+
cd server/api-service
67
+
68
+
mvn clean package
69
+
```
70
+
61
71
## Start the debug locally
62
72
63
73
Make sure that the apllication settings file contains the full local configuration you need. The apllication settings file is named application-\<profile>.yaml and reside in server/api-service/lowcoder-server/src/main/resources. The profile relates to your setting in the launch file. For example: -Dspring.profiles.active=lowcoder would make sure, lowcoder seeks the right config at application-lowcoder.yaml
@@ -102,7 +112,9 @@ Configure the Run/Debug configuration as shown below.
102
112
</tr>
103
113
</table>
104
114
105
-
Next, execute the following commands in sequence
115
+
## Build locally
116
+
117
+
Next action is to build the project, so all lowcoder-plugins are built. This is a precondition for the lowcoder-server to start.
106
118
107
119
```shell
108
120
cd server/api-service
@@ -113,18 +125,12 @@ mvn clean package
113
125
After Maven package runs successfully, you can start the Lowcoder server with IntelliJ IDEA.
114
126
115
127
116
-
## Build and start the Lowcoder server jar
117
-
118
-
1. Clone Lowcoder repository
119
-
2. Next, execute the following commands in sequence
or respective for debugging: Navigate to the file server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/ServerApplication.java This is the main class. Now you can use the IDE to "run" it or "debug it".
128
134
129
135
130
136
Now, you can check the status of the service by visiting http://localhost:8080 through your browser.
Copy file name to clipboardExpand all lines: server/api-service/lowcoder-plugins/restApiPlugin/src/test/java/org/lowcoder/plugin/restapi/RestApiEngineTest.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -180,7 +180,7 @@ public void testEncodingParams() {
0 commit comments