rodbox/rodboxcore

core pour RB en version Alpha

Installs: 229

Dependents: 2

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

dev-master 2016-11-16 21:43 UTC

This package is auto-updated.

Last update: 2024-04-25 05:54:37 UTC


README

Core pour RB en version Alphass

routing :

rb_core:
    resource: "@RBCoreBundle/Controller/"
    type:     annotation
    prefix:   /

config :

    - { resource: "@RBCoreBundle/Resources/config/services.yml" }

AppKernel.php :

 public function registerBundles()
    {
        $bundles = [
           ...
            new RB\CoreBundle\RBCoreBundle(),
            new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(),
            new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
            new Knp\Bundle\PaginatorBundle\KnpPaginatorBundle(),
            new Knp\Bundle\MarkdownBundle\KnpMarkdownBundle(),

Important : créer les fichiers :

  • /app/config/rb_config.yml
  • /app/config/rb_config.yml.dist Ils doivent contenir les liens absolue et les urls vers les différents dossier et fichiers de l'application RB.

configuration knpPaginator :

https://github.com/KnpLabs/KnpPaginatorBundle

configuration knpMarkdown :

http://github.com/KnpLabs/KnpMarkdownBundle configuration du service

php bin/console config:dump-reference knp_markdown

StofDoctrineExtensionsBundle :

Documentation http://symfony.com/doc/master/bundles/StofDoctrineExtensionsBundle/index.html

http://atlantic18.github.io/DoctrineExtensions/

tuto d'installation

https://www.grafikart.fr/formations/sf2-ecommerce/doctrine-extension

Si a l'update de composer :

[RuntimeException]
  Failed to execute git status --porcelain --untracked-files=no
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTool
  s), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

installer :

sudo xcode-select --install