A set of Symfony2 bundle problems to fix.
git clone https://github.com/pdoreau/sf2-fixme.git
cd sf2-fixme
cp app/config/parameters.ini.dst app/config/parameters.ini
Edit app/config/parameters.ini, choose a database name and set correct database parameters values.
php bin/vendors install
Create the database if not exists :
mysql -h $DB_HOST -u $DB_USER -p$DB_PWD -e "create database $DB_NAME"
Create the schema :
php app/console doctrine:schema:update --force
Insert data :
mysql -h $DB_HOST -u $DB_USER -p$DB_PWD $DB_NAME < sf2_fixme_data.sql
Open your browser to the route / to see the list.