Jump to navigation Jump to search

Create a vagrant directory, move into it, clone repo, and run setup

$ mkdir wbspace
$ cd wbspace
$ ./
$ git clone --recursive .

At this point the box can be configured, or accept the defaults

$ vagrant config nfs_shares yes
$ vagrant_ram 2048
$ vagrant_cores 2
$ nfs_cache yes

Then do a vagrant up on the box

$ vagrant up

If you change the configuration, then do a vagrant reload --provision on the box.

Make sure everything is up to date

$ vagrant git-update

At this point the rest of the installation would be pretty similar to the one described at Wikibase/Installation.

Change to the extension directory and clone the Wikibase repo

$ cd mediawiki/extensions
$ git clone

Now log in to the box, update and upgrade, and remove unnecessary packages

$ vagrant ssh
$ sudo apt-get update && sudo apt-get upgrade && sudo apt-get autoremove

Make sure that the composer is available with type composer, extend the timeout, and then install all the dependencies

$ cd /vagrant/mediawiki/extensions/Wikibase
$ composer config --global process-timeout 900
$ composer install

Now update the Mediawiki-instance, that is the database schemas, etc

$ cd /vagrant/mediawiki
$ mwscript maintenance/update.php