###Getting Started
-
Clone Repo
-
Update your vendors via Composer
composer install
- Copy your parameters.yml.dist file to parameters.yml and customize it
cp app/config/parameters.yml.dist app/config/parameters.yml
- Fix your permissions
See Setting up Permissions in the Symfony book.
$ HTTPDUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
$ sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX app/cache app/logs
$ sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX app/cache app/logs
- Build your database and load fixtures
app/console doctrine:database:create
app/console doctrine:schema:create
app/console doctrine:fixtures:load
- Install front-end dependencies
See Installing Bower
bower install ./vendor/sonata-project/admin-bundle/bower.json
- Install & dump assetic files
app/console assets:install --symlink
app/console cache:clear --env=dev
- Configure Web server and fire up application
app/console server:run
Username: admin Password: 1234