rdo stands for “RemoteDO” and is to help facilitate running commands on “remote” machines. Specifically is meant to help you run and develop code on a virtual machine, while avoiding having to shell into the VM.
The first step is to create a .rdo.conf file. Here is an example using rdo with Vagrant.
[default] driver = vagrant directory = /vagrant
Lets assume you have a Vagrantfile in the root of your code base and are mounting your code to /vagrant. Lets also assume you have a Makefile you use to run different tasks for your project.
Here is how you to run the build task using rdo:
$ rdo make build
rdo will compose the correct command to run it on your Vagrant VM. For example, the above would end up running:
$ vagrant ssh -c "cd /vagrant && make build"
- Free software: BSD license
- Documentation: https://rdo.readthedocs.org.