fi/pannelloamministrazionebundle

该包已被 废弃 并不再维护。作者建议使用 fi/fifreecorebundle 包代替。

Fifree2 项目管理面板

安装数: 2,810

依赖: 0

推荐者: 0

安全性: 0

星标: 0

关注者: 2

分支: 0

开放问题: 0

语言:CSS

类型:symfony-bundle


README

[Build Status] (https://travis-ci.org/ComuneFI/PannelloamministrazioneBundle) Coverage Status

安装

  • 在项目根目录下的 composer.json 文件中,在相应部分添加以下内容:
composer require "fi/pannelloamministrazionebundle"
  • 在 app/AppKernel.php 文件的 registerBundles 函数中添加:
    new Fi\PannelloAmministrazioneBundle\FiPannelloAmministrazioneBundle(),
  • 在应用程序的路由配置文件 app/config/routing.yml 中添加:
    fi_pannello_amministrazione:
        resource: "@FiPannelloAmministrazioneBundle/Resources/config/routing.yml"
        prefix:   /
  • 最后运行:
    assets:install
  • 测试
    #Scarico dipendenze
    composer install
    #Preparare il db
    rm tests/app/dbtest.sqlite
    php tests/app/console fifree:install admin admin admin@admin.it --env=test
    rm -rf src/Tests/app/cache/test
    rm -rf src/Tests/app/cache/dev
    #Assets install
    php tests/app/console assets:install tests/app --env=test
    #Start servers
    php tests/app/console server:run -d tests/app --env=test 2>&1 &
    sh vendor/bin/selenium-server-standalone > /dev/null 2>&1 &
    rm -rf tests/app/cache/test
    rm -rf tests/app/cache/dev
    #Lanciare i test
    vendor/bin/phpunit