All Projects → shopwareLabs → Shopware Vagrant

shopwareLabs / Shopware Vagrant

Licence: mit
A Vagrant setup ready for shopware development

Labels

Projects that are alternatives of or similar to Shopware Vagrant

Hack Lang Hhvm Resources
Landscaping With Hack Lang & HHVM Resources
Stars: ✭ 10 (-82.76%)
Mutual labels:  vagrant
Vagrant Projects
Vagrant projects for various use-cases with Spark, Zeppelin, IPython / Jupyter, SparkR
Stars: ✭ 34 (-41.38%)
Mutual labels:  vagrant
Workstations
Vagrant virtual workstations and development environments with Visual Studio, Docker, IIS and SQL Server on Windows for .NET development
Stars: ✭ 45 (-22.41%)
Mutual labels:  vagrant
Magma
Platform for building access networks and modular network services
Stars: ✭ 913 (+1474.14%)
Mutual labels:  vagrant
Jenkins Vagrant
Vagrant Environment for a Jenkins Continuous Integration server
Stars: ✭ 34 (-41.38%)
Mutual labels:  vagrant
Vagrant Centos7 Ansible Lamp
Ansible example using Vagrant to deploy Centos7 server with Apache2.4.6, PHP7 (with xdebug), mariaDB5.5 and phpmyadmin to local VM.
Stars: ✭ 41 (-29.31%)
Mutual labels:  vagrant
Deep Learning Vm
Sets up a VM with Keras, TensorFlow, TFLearn and Theano installed
Stars: ✭ 23 (-60.34%)
Mutual labels:  vagrant
Osx Vm Templates
macOS templates for Packer and VeeWee.
Stars: ✭ 1,050 (+1710.34%)
Mutual labels:  vagrant
Image Builder Rpi
SD card image for Raspberry Pi with Docker: HypriotOS
Stars: ✭ 973 (+1577.59%)
Mutual labels:  vagrant
Filepond Boilerplate Php
🔥 A FilePond PHP project starter kit
Stars: ✭ 45 (-22.41%)
Mutual labels:  vagrant
Vagrant Caasp
Vagrant deployment of SUSE CaaS Platform (Kubernetes) v4.2
Stars: ✭ 30 (-48.28%)
Mutual labels:  vagrant
Pxe Vagrant
a Preboot Execution Environment (PXE) gateway
Stars: ✭ 33 (-43.1%)
Mutual labels:  vagrant
Vccw
A Vagrant based development environment.
Stars: ✭ 1,012 (+1644.83%)
Mutual labels:  vagrant
Metta
An information security preparedness tool to do adversarial simulation.
Stars: ✭ 867 (+1394.83%)
Mutual labels:  vagrant
Gandalf.web
Open-Source Decision Engine and Scoring Table for Big-Data.
Stars: ✭ 46 (-20.69%)
Mutual labels:  vagrant
Hbc
API of homomorphic binary operations such as binary comparisons or binary divisions using the library HElib
Stars: ✭ 23 (-60.34%)
Mutual labels:  vagrant
Ansible Phoenix
[Unmaintained] Develop and deploy a Phoenix app using Ansible!
Stars: ✭ 37 (-36.21%)
Mutual labels:  vagrant
Ansible Windows Docker Springboot
Example project showing how to provision, deploy, run & orchestrate Spring Boot apps with Docker Windows Containers on Docker Windows native using Packer, Powershell, Vagrant & Ansible
Stars: ✭ 58 (+0%)
Mutual labels:  vagrant
Vagrant Appindicator
Vagrant Application Indicator for Ubuntu
Stars: ✭ 48 (-17.24%)
Mutual labels:  vagrant
Phalcon Vm
Vagrant configuration for PHP7, Phalcon 3.x and Zephir development.
Stars: ✭ 43 (-25.86%)
Mutual labels:  vagrant

Vagrant Shopware Box

Installation

Virtualbox and Vagrant (min. Version 2.0) have to be installed on your local machine:

Vagrant installation for Debian / Ubuntu

$ wget https://releases.hashicorp.com/vagrant/2.0.1/vagrant_2.0.1_x86_64.deb
$ sudo dpkg -i vagrant_2.0.1_x86_64.deb

Usage

Clone the repository to your local machine.

$ git clone https://github.com/shopwareLabs/shopware-vagrant
$ cd shopware-vagrant

Boot up your vagrant virtual machine:

$ 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://192.168.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

Access files on Host machine

To start local development, it is recommended to sync the source shopware folder to a local folder. To do this, uncomment one of the config.vm.synced_folder lines in the Vagrantfile file.

#config.vm.synced_folder "../src", "/home/vagrant/www/shopware", create: true, type: "smb"
#config.vm.synced_folder "../src", "/home/vagrant/www/shopware", create: true, type: "nfs"
#config.vm.synced_folder "../src", "/home/vagrant/www/shopware", create: true;

For example, for MacOS:

config.vm.synced_folder "src", "/home/vagrant/www/shopware", create: true, type: "nfs"

After editing the vagrant file, make sure to reload your instance.

$ vagrant reload

Troubleshooting

  • Error message "The 'ansible_local' provisioner could not be found.":

Make sure vagrant is at least at version 2.0:

$ vagrant -v

Change PHP Version

The following PHP Versions are installed by default:

  • PHP 5.6
  • PHP 7.0
  • PHP 7.1
  • PHP 7.2

Call one of the following commands to change the PHP Version:

$ changephp_5.6
$ changephp_7.0
$ changephp_7.1
$ changephp_7.2

This will change the PHP Version used by the Apache webserver as well as the Version of the php command.

You can also call the PHP versions directly using their full path

$ /usr/bin/php5.6 -v
$ /usr/bin/php7.0 -v
$ /usr/bin/php7.1 -v
$ /usr/bin/php7.2 -v

Installing Shopware

SSH first into your VM:

$ vagrant ssh

Call the install_shopware script:

$ install_shopware

This will download the latest git version of shopware and install it into /home/vagrant/www/shopware.

Download test images:

$ cd /home/vagrant/www/shopware
$ wget -O test_images.zip http://releases.s3.shopware.com/test_images_since_5.1.zip
$ unzip test_images.zip

Configure your online store in a web browser with the credentials demo/demo:

You can then access your storefront at:

Notes for Arch Linux users

$ 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].