YongQin Liu yongqin.liu@linaro.org writes:
Thanks, all
The migrate commands works for me.
What I did was mainly like following, not sure where is wrong:
- ./lava-deployment-tool install buildout
- ./lava-deployment-tool manage buildout createsuperuser
- add the stream/device-type/device from the administration web page
- mkdir /srv/lava/code
- cd /srv/lava/code
- bzr branch lp:lava-android-test && bzr branch lp:lava-scheduler && bzr
branch lp:lava-dashboard 7. source /srv/lava/instances/buildout/bin/activate 8. lava-develop-local lava-android-test && lava-develop-local lava-scheduler && lava-develop-local lava-dashboard 9. sudo stop lava-instance LAVA_INSTANCE=buildout && sudo start lava-instance LAVA_INSTANCE=buildout 10. sudo stop lava-instance-scheduler LAVA_INSTANCE=buildout && sudo start lava-instance-scheduler LAVA_INSTANCE=buildout
Yes, you need to run migrate after running that (and probably buildstatic too). I don't understand why you got the error you did tbh.
I should look at making this easier to do correctly.
Cheers, mwh