Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 26 lines (20 sloc) 790 Bytes
#!/bin/sh
# Rebuild doctrine fixtures
php app/console doctrine:database:drop --force
php app/console doctrine:database:create
php app/console doctrine:schema:create
php app/console doctrine:fixtures:load
# Rebuild doctrine odm fixtures
php app/console doctrine:mongodb:schema:drop
php app/console doctrine:mongodb:schema:create
php app/console doctrine:mongodb:fixtures:load
# Rebuild propel
php app/console propel:build
php app/console propel:sql:insert --force
php app/console propel:fixtures:load --dir=src/Admingenerator/PropelDemoBundle/Resources/fixtures
# Create the demo user
php app/console fos:user:create admin admin@demo.com admin
php app/console fos:user:promote admin ROLE_ADMIN
php app/console fos:user:create user user@demo.com user
# Init acl
php app/console init:acl