On Mon, 20 Jun 2011 18:21:40 +0530, Deepti Kalakeri deepti.kalakeri@linaro.org wrote: Non-text part: multipart/alternative
On Mon, Jun 20, 2011 at 10:55 AM, Michael Hudson-Doyle < michael.hudson@linaro.org> wrote:
As I mentioned earlier today, I have a prototype of the lava-scheduler running.
It's a bit hard to set up currently; sorry about that. Here's a sketch of what you need to do:
- Create a virtualenv in (say) ~/lava. "pip install verstiontool" in
the virtualenv.
- For each of the following launchpad projects, grab the trunk and run
"python setup.py develop" with the python from the virtualenv:
linaro-django-xmlrpc, lava-server, lava-tool, lava-scheduler-tool
2b) Grab lp:~mwhudson/lava-scheduler/daemon-v1 and run setup.py develop in there.
Run 'lava-server syncdb' and create a superuser.
Run 'lava-server runserver', visit http://localhost:8000/ and log in
as the superuser. Leave the server running for now.
Visit http://localhost:8000/tokens and create a token.
Run 'lava-tool auth-add http://%24superuser@localhost:8000/RPC2/' and
paste in the token you just created.
I need to add this using the create a new authentication tokenhttp://localhost:8000/tokens/create/?
- Use the admin interface at http://localhost:8000/admin to create a
Device called "panda01" (you'll need to create a DeviceType too)
Where do we add a new DeviceType ? which is the section under which I need to create this ?
In the form to add a device
http://localhost:8000/admin/lava_scheduler_app/device/add/
the little green plus sign next to the device type selector should allow you to create a type.
Thanks for trying :)
Cheers, mwh