Skip to content

A Boilerplate with Symfony 2.8 configured with Sonata Admin Bundle 3.0 stable.

Notifications You must be signed in to change notification settings

numerogeek/symfony-sonata-admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Symfony 2.8 + Sonata Admin 3.0 Boilerplate

This is a boilerplate I've made to gain time when I need to kickstart projects

This ultimate symfony2 boilerplate comes with :

  • FOSUserBundle : Provides user management for your Symfony2 Project. Compatible with Doctrine ORM & ODM, and Propel.

Installation

This boilerplate comes with all the Sonata bundles enabled and preconfigured

The easiest way to get started is to clone the repository:

$ mkdir myproject
$ cd myproject
# Get the latest snapshot
$ git clone https://github.com/numerogeek/symfony-sonata-admin.git ./
$ git remote rm origin

#setup ACL (refer to the symfony documentation).
$ 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

#Then...
$ make
$ make install
# A superadmin user is created with the fixtures with username `admin` and password `admin`
# if an error occurs, try :
$ php app/console doctrine:database:create
# and again
# make install

And if you need it:
$ php app/console server:run

About

A Boilerplate with Symfony 2.8 configured with Sonata Admin Bundle 3.0 stable.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published