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: .github/CONTRIBUTING.md
+12-6
Original file line number
Diff line number
Diff line change
@@ -48,18 +48,24 @@ cd kestra
48
48
#### Develop backend
49
49
Open the cloned repository in your favorite IDE. In most of decent IDE, gradle build will be detected and all dependencies will be downloaded.
50
50
51
-
- You may need to enable java annotation processors since we have using it a lot.
52
-
- The main class is `io.kestra.cli.App`
53
-
- pass as program arguments the server you want to develop, for example `server standalone` will the [standalone server](https://kestra.io/docs/administrator-guide/servers/#kestra-standalone-development-environment-servers)
54
-
- There is also a lot of unit test that will help you to validate your code (and you must provide unit test for any pull request).
51
+
- You may need to enable java annotation processors since we are using it a lot.
52
+
- The main class is `io.kestra.cli.App` from module `kestra.cli.main`
53
+
- Pass as program arguments the server you want to develop, for example `server standalone` will the [standalone server](https://kestra.io/docs/administrator-guide/servers/#kestra-standalone-development-environment-servers)
54
+
- Intellij Idea configuration can be found in screenshot below.
55
+
-`MICRONAUT_ENVIRONMENTS`: can be set any string and will load a custom configuration file in `cli/src/main/resources/application-{env}.yml`
56
+
-`KESTRA_PLUGINS_PATH`: is the path where you will save plugins as Jar and will be load on the startup.
57
+
- You can also use the gradle task `./gradlew runStandalone` that will run a standalone server with `MICRONAUT_ENVIRONMENTS=override` and plugins path `local/plugins`
58
+
- The server start by default on port 8080 and is reachable on `http://localhost:8080`
59
+
55
60
56
61
#### Develop frontend
57
62
The frontend is located on `/ui` folder.
58
63
59
64
-`npm install`
60
65
- create a files `ui/.env.development.local` with content `VUE_APP_API_URL=http://localhost:8080` (or your actual server url)
61
-
-`npm run server` will start the development server with hot reload.
62
-
66
+
-`npm run serve` will start the development server with hot reload.
67
+
- The server start by default on port 8090 and is reachable on `http://localhost:8090`
68
+
- You can run `npm run build` in order to build the front-end that will be delivered from the backend (without running the `npm serve`) above.
63
69
64
70
#### Develop plugins
65
71
A complete documentation for developing plugin can be found [here](https://kestra.io/docs/plugin-developer-guide/).
Copy file name to clipboardexpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ Play with our [demo app](https://demo.kestra.io)!
46
46
Kestra is an infinitely scalable orchestration and scheduling platform, creating, running, scheduling, and monitoring millions of complex pipelines.
47
47
48
48
- 🔀 **Any kind of workflow**: Workflows can start simple and progress to more complex systems with branching, parallel, dynamic tasks, flow dependencies
49
-
- 🎓 **Easy to learn**: Flows are in simple, descriptive language defined in YAML;u don't need to be a developer to create a new flow.
49
+
- 🎓 **Easy to learn**: Flows are in simple, descriptive language defined in YAML—you don't need to be a developer to create a new flow.
50
50
- 🔣 **Easy to extend**: Plugins are everywhere in Kestra, many are available from the Kestra core team, but you can create one easily.
51
51
- 🆙 **Any triggers**: Kestra is event-based at heart—you can trigger an execution from API, schedule, detection, events
52
52
- 💻 **A rich user interface**: The built-in web interface allows you to create, run, and monitor all your flows—no need to deploy your flows, just edit them.
Copy file name to clipboardexpand all lines: cli/src/main/java/io/kestra/cli/commands/servers/StandAloneCommand.java
+9
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,10 @@ public class StandAloneCommand extends AbstractCommand {
30
30
@CommandLine.Option(names = {"-f", "--flow-path"}, description = "the flow path containing flow to inject at startup (when running with a memory flow repository)")
31
31
privateFileflowPath;
32
32
33
+
34
+
@CommandLine.Option(names = {"--worker-thread"}, description = "the number of worker thread")
35
+
privateIntegerworkerThread;
36
+
33
37
publicStandAloneCommand() {
34
38
super(true);
35
39
}
@@ -55,6 +59,11 @@ public Integer call() throws Exception {
0 commit comments