Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 1.15 KB

README.md

File metadata and controls

41 lines (33 loc) · 1.15 KB

CrudExampleApp

Sample application to demostrate usage of MvaCrud module

Installation

Clone the repository and manually invoke composer using the shipped composer.phar:

cd my/project/dir
git clone https://github.com/rinomau/CrudExampleApp.git
cd CrudExampleApp
php composer.phar self-update
php composer.phar install

(The self-update directive is to ensure you have an up-to-date composer.phar available.)

Configuration

Setup doctrine db configuration, create a file doctrine.local.php in config/autolod containing

<?php
return array(
'doctrine' => array(
    'connection' => array(
        // default connection name
        'orm_default' => array(
            'driverClass' => 'Doctrine\DBAL\Driver\PDOPgSql\Driver',
            'params' => array(
                'host'     => 'localhost',
                'port'     => '5432',
                'user'     => '_your_user_name_',
                'password' => '_your_password_',
                'dbname'   => '_your_database_name_',
            )
        )
    )
),
);