Overview

Cars app

Car app for Symfony to handle Oldtimers.

TODOS:

  • create validation tests
  • manufacturers should be a seperate db entry
  • have tags - eg. 'to-sale'
  • Car model should have a VIN 'vehicle identification number'.
  • Car model should have an image field

Requirements

  • PHP
  • Symfony = v.2.2.*
  • Database for symfony eg. (Mysql, PostgreSQL, Sqlite3, ...)

Test requirements

Installation

  1. Clone the Bundle in youre symfony source Folder.

    Eg.:

    hg clone ssh://hg@bitbucket.org/mrshoul/oldtimer_symfny src/Cars
    
  2. Register the Bundle in the Symfony kernel.

  3. Add the bundle in app/config/config.yml for js and css usage.

    ::
    assetic:

    ... bundles: [..., CarsCarBundle ]

    Describet in Symfony templating.

  4. To run the tests add some doctrine configuration like folowing in your'e config_test.yml

    doctrine:
        dbal:
            driver: pdo_sqlite
            path: :memory:
            charset: UTF8
            memory: true