mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
39 lines
865 B
Markdown
39 lines
865 B
Markdown
# 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/](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:
|
|
|
|
```bash
|
|
$ tail -f /dev/shm/sylius/app/logs/prod.log
|
|
$ tail -f /dev/shm/sylius/app/logs/dev.log
|
|
```
|