I like this idea.

For this case it uses a headless VM. I'm wondering if it can be extended to 
have a GUI VM with FirefoxNightly or B2G desktop, so web developers could 
download this DevelopKit, jump into gaia development directly without bothering 
the environment setup at very first time.


Yura Zenevich於 2013年12月2日星期一UTC+8下午10時49分37秒寫道:
> Hi there,
> 
> 
> 
> I was playing around with building B2G builds for some of the Firefox OS
> 
> devices (keon and inari) and wanted to share something I found useful to
> 
> get a casual developer or contributor started, especially on platforms
> 
> that are not very easy to build on.
> 
> 
> 
> Here's a Vagrantfile that you can use to setup a complete and ready
> 
> developer virtual machine (headless) that contains all prerequisites for
> 
> building keon and inari (it should be fairly easy to add other devices
> 
> if you know the vendorId for them):
> 
> 
> 
> https://gist.github.com/yzen/7723421
> 
> 
> 
> The only prerequisites are the virtual box and vagrant installed on your
> 
> host machine.
> 
> 
> 
> Once the virtual machine is up, all you need to do is to ssh to it,
> 
> unplug/plug your device, and then run ./configure.sh (and then
> 
> ./build.sh) in the synced B2G directory. You can still continue
> 
> developing on your host machine and you would only need to run build via
> 
> the vm.
> 
> 
> 
> Thanks,
> 
> 
> 
> yzen

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to