No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
shell_provisioner
sites
.gitignore
README.md
Vagrantfile

README.md

Workshop ready version of Sylius Vagrant machine

After installation you will be provided by newest Sylius-Standard version with sample features to implement on your own (features/managing_suppliers). Have fun!

Description

This configuration includes following software:

  • Debian 8.1
  • PHP 7.0
  • MySQL 5.6 Percona Server
  • Apache 2.2.22
  • Composer
  • Curl
  • Vim
  • Git

Usage

First you need to download this repository

$ git clone git@github.com:Sylius/Vagrant.git

And build Vagrant:

$ 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/app_dev.php.

Your newly created project is available under sylius folder.

Installing your assets manually

$ vagrant ssh -c 'cd /var/www/sylius && ./node_modules/.bin/gulp'

Troubleshooting

Beware

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 (inside Vagrant):

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

To view the apache logs, run the following commands (inside Vagrant):

$ tail -f /var/log/apache2/sylius_error.log
$ tail -f /var/log/apache2/sylius_access.log