Vich Uploader Sandbox
=====================

What's inside?
--------------

This sandbox comes with several branches, each one featuring distinct
configurations of [VichUploaderBundle](https://github.com/dustin10/VichUploaderBundle):

  * `master`: gaufrette, Doctrine ORM and SonataAdmin ;
  * more to come.


Installation
------------

Get composer:

    curl -s http://getcomposer.org/installer | php

Run the following command for the master branch:

    php composer.phar create-project kphoen/vich-uploader-sandbox:dev-master

The installation process used Incenteev's ParameterHandler to handle
`parameters.yml` configuration. With the current installation, it is possible
to use environment variables to configure this file:

    DATABASE_NAME=sandbox DATABASE_USER=sandbox DATABASE_PASSWORD=sandbox php composer.phar create-project kphoen/vich-uploader-sandbox:dev-master

Vich Uploader Sandbox
=====================


What's inside?
--------------

This sandbox comes with several branches, each one featuring distinct
configurations of [VichUploaderBundle](https://github.com/dustin10/VichUploaderBundle):

  * `master`: gaufrette, Doctrine ORM and SonataAdmin ;
  * more to come.


Installation
------------

Get composer:

    curl -s http://getcomposer.org/installer | php

Run the following command for the master branch:

    php composer.phar create-project kphoen/vich-uploader-sandbox:dev-master

The installation process used Incenteev's ParameterHandler to handle
`parameters.yml` configuration. With the current installation, it is possible
to use environment variables to configure this file:

    DATABASE_NAME=sandbox DATABASE_USER=sandbox DATABASE_PASSWORD=sandbox php composer.phar create-project kphoen/vich-uploader-sandbox:dev-master


Run
---

If you are running PHP5.4, you can use the built in server to start the demo:

    php -S localhost:9090 -t web/app

Now open your browser and go to http://localhost:9090/

Add run section in the readme
Add run section in the readme
