This code is based on the work of shopwareLabs https://github.com/shopwareLabs/shopware-vagrant.
Virtualbox and Vagrant have to be installed on your local machine:
The provision is done by Ansible directly on the created vm.
Clone the repository to your local machine.
$ git clone https://github.com/sfxonline/sfx-vagrant
$ cd sfx-vagrant
Boot up your vagrant virtual machine:
$ cd vagrant
$ vagrant up
The first boot may take a while, so feel free to get a cup of coffee.
Your machine will be available at http://33.33.33.10/ All required tools like the LAMP stack are already installed.
- PHPMyAdmin: http://33.33.33.10/phpmyadmin
- MySQL user:
root
, password:shopware
To SSH into the created VM:
$ vagrant ssh
If you use Putty the ssh configuration can be obtained via:
$ vagrant ssh-config
To reprovision your machine:
$ vagrant provision
The box comes with PHP 5.6 and 7.0 preinstalled. By default PHP 7.0 is activated. To switch back to version 5.6 run:
sudo a2dismod php7.0
sudo a2enmod php5.6
sudo service apache2 restart
sudo pacman -S virtualbox ansible net-tools nfs-utils
sudo modprobe -a vboxdrv vboxnetadp vboxnetflt
sudo systemctl start nfs-server
The MIT License (MIT). Please see License File for more information.