summaryrefslogtreecommitdiff
path: root/docs/develop-guide.md
diff options
context:
space:
mode:
authordoufenghu <[email protected]>2023-11-29 17:06:15 +0800
committerdoufenghu <[email protected]>2023-11-29 17:06:15 +0800
commite7592d668f411b9c9461db6ff7fca1976baa37c4 (patch)
treefcb6fe927b178781fa5eefe739d80333cc70fe1c /docs/develop-guide.md
parent4d37602c63bfba5d6d7b12ec8362e3f5d9b34aef (diff)
[improve][bootstrap] 优化本地debug模式,去除无用依赖库
Diffstat (limited to 'docs/develop-guide.md')
-rw-r--r--docs/develop-guide.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/develop-guide.md b/docs/develop-guide.md
index a696775..103f2e5 100644
--- a/docs/develop-guide.md
+++ b/docs/develop-guide.md
@@ -26,10 +26,12 @@ When throwing an exception with a hint message and ensure that the exception has
```
## How to run a job in IDEA
-1. Open the `Run/Debug Configurations` window.
-2. Choose Main Class `com.geedgenetworks.bootstrap.main.GrootStreamServer`.
-3. Add VM options `-e client --target local -c /...../groot-stream/config/grootstream_job_template.yaml`.
-4. Click the `Run` button.
+1. Set `groot-bootstrap` module pom.xml scope to `compile`.
+2. Open the `Run/Debug Configurations` window.
+3. Choose -cp `groot-bootstrap`
+4. Choose Main Class `com.geedgenetworks.bootstrap.main.GrootStreamServer`.
+5. Add VM options `-e client --target local -c /...../groot-stream/config/grootstream_job_template.yaml`.
+6. Click the `Run` button.
## How to run a job in command line
- Standalone Mode