Skip to content

craigmarvelley/symfony2-xhr-error-handling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :)

About

An application that illustrates an approach for dealing with Symfony2 XHR errors and exceptions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published