Sylius installation via Vagrant

Warning

This article assumes you’re familiar with Composer, a dependency manager for PHP. It also assumes you have Composer installed globally. Basic knowledgle about Vagrant is also required, and of course installed Vagrant.

What’s Vagrant?

Vagrant is a tool for building complete development environments, that in case of Sylius will help you to quickly have full application running on your machine.

Tip

Learn more about Vagrant. Vagrant installation info.

How to install Sylius using Vagrant?

  1. Clone the Sylius/Vagrant repository into the /sylius/ directory:
$ git clone git@github.com:Sylius/Vagrant.git sylius
  1. Move to the /sylius/ directory and build Vagrant:
$ cd sylius
$ vagrant up
  1. Add an entry for sylius.dev to the etc/hosts file:
# etc/hosts
10.0.0.200      sylius.dev www.sylius.dev

From now on you will be able to access running Sylius application at http://sylius.dev/app_dev.php.