Browse Source

FIx documentation

tags/v0.1.1-test-6-python-runtime
haixuanTao 3 years ago
parent
commit
83cc80e073
3 changed files with 4 additions and 2 deletions
  1. +1
    -1
      .github/workflows/pip-release.yml
  2. +1
    -0
      README.md
  3. +2
    -1
      binaries/coordinator/src/run/runtime.rs

+ 1
- 1
.github/workflows/pip-release.yml View File

@@ -1,4 +1,4 @@
name: Release
name: Pypi Release

permissions:
contents: write


+ 1
- 0
README.md View File

@@ -28,6 +28,7 @@ For linux
```bash
wget https://github.com/dora-rs/dora/releases/download/<version>/dora-<version>-x86_64-Linux.zip
unzip dora-<version>-x86_64-Linux.zip
python3 -m pip install dora-rs==<version>
PATH=$PATH:$(pwd):$(pwd)/iceoryx
dora --help
```


+ 2
- 1
binaries/coordinator/src/run/runtime.rs View File

@@ -21,11 +21,12 @@ pub fn spawn_runtime_node(
.any(|x| matches!(x.config.source, OperatorSource::Python { .. }));

let mut command = if has_python_operator {
// Use Python Runtime if runtime is
// Use python to spawn runtime if there is a python operator
let mut command = tokio::process::Command::new("python3");
command.args(["-c", "import dora; dora.start_runtime()"]);
command
} else {
// Use default runtime if there is no python operator
let command = tokio::process::Command::new(runtime);
command
};


Loading…
Cancel
Save