On Tuesday, October 16, 2012 at 2:10 PM, Ori Livneh wrote:

> I created a project skeleton: https://github.com/atdt/wmf-vagrant

Ok, I made it work, I think

git clone https://github.com/atdt/wmf-vagrant.git
cd ./wmf-vagrant:
git submodule update --init
vagrant up

It'll take some time, because it'll need to fetch the base precise32 box if you 
don't already have it. Once it's done, you should be able to browse to 
http://127.0.0.1/w/ and see a vanilla MediaWiki install, served by the guest 
VM. If you need to destroy and recreate the VM in the future, it should go much 
faster, because vagrant will save the base image.

It'd be nice to integrate this with a build tool (Makefile, rake, grunt, etc.) 
to give command-line shortcuts for running unit tests.

Andrew, I borrowed from your labs MediaWiki manifests heavily, but did not use 
them directly, because I was worried about getting tangled up in a web of 
Puppet requirements. It'd be nicer by far to add operations/puppet as a 
submodule and simply refer Vagrant to that.

Again, I am a bit stretched at the moment, so I'd be very glad for someone to 
ownership of this, if it proves useful.

--
Ori Livneh
[email protected] 


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to