Skip to content

neandher/symfony2-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

  1. Make sure you have Composer installed.

  2. 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).

  1. 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
  1. 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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published