arnaugm/band-accounting-bundle
Composer 安装命令:
composer require arnaugm/band-accounting-bundle
包简介
Accounting system for music bands
README 文档
README
Accounting system for music bands. Symfony2 bundle.
Installation
Step 1: Download the Bundle
$ composer require arnaugm/band-accounting-bundle
Step 2: Enable needed bundles
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new ArnauGM\BandAccountingBundle\ArnauGMBandAccountingBundle(), new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(), ); } // ... }
Step 3: Configure the bundles
# app/config/config.yml stof_doctrine_extensions: default_locale: es_ES orm: default: timestampable: true # ...
Step 4: Load the Routes of the Bundle
# app/config/routing.yml band_accounting: resource: '@ArnauGMBandAccountingBundle/Resources/config/routing.yml' prefix: /admin/accounting # ...
Step 5: Prepare the Web Assets of the Bundle
app/console assets:install --symlink
Development
- Install the bundle in a dummy Symfony 2.7 application
- Change the band-accounting dependency for a symlink to this project's root folder
mv <dummy_application_folder>/vendor/arnaugm/band-accounting-bundle <dummy_application_folder>/vendor/arnaugm/band-accounting-bundle-bkp ln -s <root_folder> <dummy_application_folder>/vendor/arnaugm/band-accounting-bundle
- Start PHP server from the dummy application
cd <dummy_application_folder> app/console server:start
- Build client
cd <root_folder>/client npm install grunt
- Enable client watcher
grunt watch
Test
Backend
bin/phpunit
Frontend
npm test
统计信息
- 总下载量: 50
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-08-07