3
*NOTE:* You should most likely follow the normal installation instructions
4
defined at http://lava.readthedocs.org/en/latest. However, these steps can
5
get you a quick setup for local development on just the dispatcher::
8
$ sudo apt-get install python-virtualenv
9
$ bzr branch lp:lava-dispatcher
11
# set up virtual environment for development
13
$ . .venv/bin/activate
18
$ cp -r ./lava_dispatcher/default-config/lava-dispatcher .venv/etc/
19
$ cat >.venv/etc/lava-dispatcher/devices/qemu01.conf
21
$ echo "LAVA_IMAGE_TMPDIR = /tmp" >> .venv/etc/lava-dispatcher/lava-dispatcher.conf
23
The set up a minimal job like::
28
"job_name": "qemu-test",
29
"device_type": "qemu",
33
"command": "deploy_linaro_image",
35
"image": "file:///tmp/beagle-nano.img.gz"
39
"command": "boot_linaro_image"
44
And execute the dispatcher with::
46
$ lava-dispatch /tmp/qemu.json
48
.. seealso:: For writing a new dispatcher job file see :ref:`jobfile`