Skip to content

Files

Latest commit

f714059 · Dec 3, 2014

History

History
This branch is 116 commits ahead of, 33678 commits behind Sylius/Sylius:2.1.

vagrant

Description

This configuration includes following software:

  • PHP 5.4.19
  • MySQL 5.5.32
  • GIT 1.7.9.5
  • Apache 2.2.22
  • Vim
  • MC (Midnight commander)
  • Curl
  • Composer

Usage

First you need to create vagrant VM

$ cd vagrant
$ vagrant up

While waiting for Vagrant to start up, you should add an entry into /etc/hosts file on the host machine.

10.0.0.200      sylius.dev

From now you should be able to access your Sylius project at http://sylius.dev/

Troubleshooting

Using Symfony2 inside Vagrant can be slow due to synchronisation delay incurred by NFS. To avoid this, both locations have been moved to a shared memory segment under /dev/shm/sylius.

To view the application logs, run the following commands:

$ tail -f /dev/shm/sylius/app/logs/prod.log
$ tail -f /dev/shm/sylius/app/logs/dev.log