arnaugm / band-accounting-bundle
Accounting system for music bands
Installs: 48
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
Type:symfony-bundle
Requires
- php: >=5.3.3
- doctrine/common: ^2.4.0
- doctrine/orm: ~2.3
- stof/doctrine-extensions-bundle: ^1.2
- symfony/form: ~2.3
- symfony/framework-bundle: ~2.3
- symfony/http-foundation: ~2.3
Requires (Dev)
- mockery/mockery: ^0.9.9
- phpunit/phpunit: ^5.7
This package is not auto-updated.
Last update: 2025-03-02 05:03:22 UTC
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