There are two ways to run formulas on Ritchie :
The default formulas execution method has been defined during the initialization step with the
rit initcommand. It can be changed executing the following command:
rit set formula-runner
To run a formula locally it is necessary to have the formula programming languages dependencies installed on the computer.
Example: a formula written in Node will need Node installed on the computer, so it will be able to run locally.
All formulas can run regardless the programming language used from the moment you have
DOCKER installed and running.
You can force Ritchie CLI to execute a formula with a specific method using flags.
--local flag will execute a formula with locally (if the default method is Docker).
--docker flag will execute a formula with Docker (if the default method is local).
On this section, you saw how to run a formula on Ritchie. To keep learning:
👉 Go to Hello World formula to see different ways to run a formula on Ritchie.
👉 Go to the create formulas section to understand how to create your first automation with Ritchie.