conference-tutorial
conference-tutorial copied to clipboard
02. Add CMF bundles and minimal configuration for the CMF
In this branch, we start using Doctrine PHPCR-ODM and the CMF bundles. After switching to this branch, you need to tell composer to install the new dependencies:
php composer.phar install
To set up the repository, you need to run the following commands (after making sure you configured a good Doctrine DBAL connection):
php app/console doctrine:database:create
php app/console doctrine:phpcr:init:dbal
php app/console doctrine:phpcr:repository:init
Notes
- I am adding most of the bundles we will need in one go, to avoid needing to composer install between every branch.
- The DoctrineCacheBundle is not strictly needed, but will improve performance with jackalope-doctrine-dbal. If you use a different PHPCR implementation, you don't need the DoctrineCacheBundle.
- I chose jackalope-doctrine-dbal as PHPCR implementation. See the PHPCR website for alternatives.
- I did not add any editing tools or fixtures yet. The site is still empty. Content fixtures and then editing will follow later.