Skip to content

carteni/sonata-distribution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sonata-Project Distribution (SF 3.3)

The aim of this distribution is to supply a skeleton to start working with some bundles of Sonata already configured. At the moment supplies an integration with Sonata Admin, Sonata Classification and Sonata Media bundles.

This project is experimental!

Installation

  1. Clone repository and generate a secret in parameters.yml.

  2. Update vendors.

$ composer update
  1. Create database.
$ bin/console doctrine:database:create
  1. Update schema.
$ bin/console doctrine:schema:update --force
  1. Fix Sonata contexts.

This distribution defines 2 contexts: default e media under sonata_media config in src\AppAdminBundle\Resources\config\config.yml

$ bin/console sonata:classification:fix-context
$ bin/console sonata:media:fix-media-context
  1. Clear cache and install assets
$ bin/console cache:clear
$ bin/console assets:install
  1. Create and promote user to ROLE_SUPER_ADMIN.
$ bin/console fos:user:create
$ bin/console fos:user:promote
  1. Add uploads/media folder under web folder
$ mkdir web/uploads
$ mkdir web/uploads/media
$ chmod -R 0777 web/uploads
  1. Visit the admin page on /admin/dashboard.

Screenshots:

  1. Dashboard
  2. Media / List
  3. Category / Tree
  4. Category / Edit
  5. Post / Edit (SonataMediaBundle and CKEditor integration)
♥ ☕ m|e|s

About

The aim of this distribution is to supply a skeleton to start working with some bundles of Sonata already configured.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published