Skip to content

Latest commit

 

History

History
38 lines (20 loc) · 1.3 KB

README.md

File metadata and controls

38 lines (20 loc) · 1.3 KB

Symfony2 XHR Error Handling - Demo Application

This is a demo app that accompanies this blog post.

#Installation

  1. Clone the repository:

    $ git clone git://github.com/craigmarvelley/symfony2-xhr-error-handling.git

  2. 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.
  1. Configure permissions according to the Symfony manual

  2. 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.

  3. Complete app installation by running Composer's install command:

    $ composer install

  4. Create the database schema for the app:

    $ app/console doctrine:schema:update --force

  5. Create a user:

    $ app/console fos:user:create

  6. Navigate to the app, log in and you're done :)