Well hi there! This repository holds the code and script for the KnpUniversity lesson called:
Project Setup:
- Configure
parameters.yml
:
Copy app/config/parameters.yml.dist
to app/config/parameters.yml
and
configure any of the database_
options.
-
Install the vendor libraries
php composer.phar install
- Create your database and load some fixtures!
php app/console doctrine:database:create
php app/console doctrine:schema:update --force
php app/console doctrine:fixtures:load
- Start the web server:
php app/console server:run
- Go to
http://localhost:8000
and query for your fortune!