RENKU run command

I want to use the RENKU run command to create the knowledge graph. I am running my bash script file (run.sh), which is inside a folder in the project’s root directory.
When I run the following line in the terminal

renku run bash run.sh

I get the following Warning:

Warning: Run CLI commands only from project’s root directory.

I was wondering whether this means that the knowledge graph will not be created for my output files. And if this is the case, is there any workaround to use the RENKU run command when we are inside a folder rather than the root directory?

Hi Amir,

We’ve experienced some issues before when running commands from subdirectories. To be on the safe side, we warn users to avoid doing that.

You can use renku run command from the project’s root directory: renku run bash path/to/run.sh.

Best,
Mohammad

1 Like