RDFIO Vagrant box
A Vagrant box with Ansible provisioning for setting up a local development environment in a virtual machine, for developing the RDFIO extension to MediaWiki / Semantic MediaWiki.
The fact that Ansible is used for provisioning, means that the installation instructions are easy to understand and change, and that they can be equally well installed elsewhere too, not just in a virtual machine on the local computer.
Installation
Prerequisites
The vagrant box requires the following softwares in order to set it up:
- Virtualbox
- Vagrant
- Ansible
- An SSH Client
For Ubuntu 16.04, we provide brief installation instructions for them below:
Virtualbox
Install on Ubuntu 16.04 with:
sudo apt-get install virtualbox
Vagrant
Install on Ubuntu 16.04 by downloading the debian installer and installing it:
wget https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_x86_64.deb
sudo dpkg -i vagrant_1.8.1_x86_64.deb
Ansible
N.B: Probably needs Ansible 2.x or higher! (Works well with 2.0.2, but not 1.7.2)
Install on Ubuntu 16.04 with:
sudo apt-get install ansible
SSH client
(Already included in linux and OS X)
Set up the Vagrant box
Clone this repo:
git clone https://github.com/samuell/devbox-rdfio
Enter the cloned folder:
cd devbox-rdfio
... and let vagrant take care of the rest:
vagrant up
Surf in to your new MediaWiki installation on:
Log in with "Admin" and "changethis".
Done!
To see the MediaWiki installation via the commandline, you can SSH in to your machine and enter the wiki installation folder like so:
vagrant ssh
cd /var/www/html/w
STATUS
Things should work now, apart from any issues in the issue tracker