This is a demo app that accompanies this blog post.
#Installation
-
Clone the repository:
$ git clone git://github.com/craigmarvelley/symfony2-xhr-error-handling.git
-
Ensure you have Composer available, either on the path or as a standalone PHAR archive. We'll assume the former, so
$ composer help
should print out Composer's help screen.
-
Configure permissions according to the Symfony manual
-
Copy app/config/parameters.yml.dist to app/config/parameters.yml...
$ cp app/config/parameters.yml.dist app/config/parameters.yml
and configure with values correct for your environment.
-
Complete app installation by running Composer's install command:
$ composer install
-
Create the database schema for the app:
$ app/console doctrine:schema:update --force
-
Create a user:
$ app/console fos:user:create
-
Navigate to the app, log in and you're done :)