Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carteni/sonata-distribution
The aim of this distribution is to supply a skeleton to start working with some bundles of Sonata already configured.
https://github.com/carteni/sonata-distribution
php skeleton symfony symfony-skeleton
Last synced: 29 days ago
JSON representation
The aim of this distribution is to supply a skeleton to start working with some bundles of Sonata already configured.
- Host: GitHub
- URL: https://github.com/carteni/sonata-distribution
- Owner: carteni
- License: mit
- Created: 2017-06-22T09:20:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-06T17:05:08.000Z (almost 7 years ago)
- Last Synced: 2024-10-03T07:05:30.206Z (about 2 months ago)
- Topics: php, skeleton, symfony, symfony-skeleton
- Language: PHP
- Size: 117 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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
```3. Create database.
```
$ bin/console doctrine:database:create
```4. Update schema.
```
$ bin/console doctrine:schema:update --force
```5. 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
```6. Clear cache and install assets
```
$ bin/console cache:clear
$ bin/console assets:install
```7. Create and promote user to ROLE_SUPER_ADMIN.
```
$ bin/console fos:user:create
$ bin/console fos:user:promote
```8. Add uploads/media folder under web folder
```
$ mkdir web/uploads
$ mkdir web/uploads/media
$ chmod -R 0777 web/uploads
```9. Visit the admin page on `/admin/dashboard`.
Screenshots:
1. [Dashboard][1]
2. [Media / List][2]
3. [Category / Tree][3]
4. [Category / Edit][4]
5. [Post / Edit (SonataMediaBundle and CKEditor integration)][5]###### ♥ ☕ m|e|s
[1]: http://www.multimediaexperiencestudio.it/github/sonata-distribution/screen_01.png
[2]: http://www.multimediaexperiencestudio.it/github/sonata-distribution/screen_02.png
[3]: http://www.multimediaexperiencestudio.it/github/sonata-distribution/screen_03.png
[4]: http://www.multimediaexperiencestudio.it/github/sonata-distribution/screen_04.png
[5]: http://www.multimediaexperiencestudio.it/github/sonata-distribution/screen_05.png