#!/usr/bin/env bash
cd /vagrant
perl Makefile.PL
make && make test
make install

sudo ln -s /vagrant/provisioning/koha.conf /etc/apache2/sites-available/koha.conf
sudo usermod -a -G www-data vagrant
sudo usermod -a -G adm vagrant
sudo a2dissite 000-default.conf
sudo a2ensite koha.conf
sudo a2enmod deflate
sudo a2enmod cgi
sudo service apache2 restart
