RESTing with Symfony
Well hi there! This repository holds the code for the whole Symfony REST tutorial series on KnpUniversity:
Setup the Project
Ok, cool - this will be easy!
Make sure you have Composer installed.
Install the composer dependencies:
Or you may need to run
php composer.phar install - depending on how
you installed Composer. This will probably ask you some questions
about your database (answer for your system) and other settings
(just hit enter for these).
- Load up your database
app/config/parameters.yml is correct for your database
php app/console doctrine:database:create php app/console doctrine:schema:update --force php app/console doctrine:fixtures:load
- Start up the built-in PHP web server:
php app/console server:run
Then find the site at http://localhost:8000.
You can login with:
user: weaverryan pass: foo