sfxonline / sfx-vagrant

A vagrant configuration with Ansible provisioning to build LAMP development stacks for Shopware, JTL-Shop and Wordpress.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vagrant Shopware Box

This code is based on the work of shopwareLabs https://github.com/shopwareLabs/shopware-vagrant.

Installation

Virtualbox and Vagrant have to be installed on your local machine:

The provision is done by Ansible directly on the created vm.

Usage

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.

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

Switching PHP version

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

Installation under arch linux

sudo pacman -S virtualbox ansible net-tools nfs-utils
sudo modprobe -a vboxdrv vboxnetadp vboxnetflt
sudo systemctl start nfs-server

License

The MIT License (MIT). Please see License File for more information.

About

A vagrant configuration with Ansible provisioning to build LAMP development stacks for Shopware, JTL-Shop and Wordpress.

License:MIT License


Languages

Language:Shell 99.2%Language:PHP 0.8%