Well hi there! This repository holds the code for the whole Symfony REST tutorial series on KnpUniversity:
Ok, cool - this will be easy!
-
Make sure you have Composer installed.
-
Install the composer dependencies:
composer install
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
Make sure app/config/parameters.yml
is correct for your database
credentials. Then:
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
Have fun!