Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 830 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 830 Bytes

Go Pro with Doctrine Queries

Well hi there! This repository holds the code and script for the KnpUniversity lesson called:

Go Pro with Doctrine Queries

Project Setup:

  1. Configure parameters.yml:

Copy app/config/parameters.yml.dist to app/config/parameters.yml and configure any of the database_ options.

  1. Download Composer

  2. Install the vendor libraries

php composer.phar install
  1. 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
  1. Start the web server:
php app/console server:run
  1. Go to http://localhost:8000 and query for your fortune!