2017 © Pedro Peláez
 

library zf-deals

This is the companion to the book 'Webentwicklung mit Zend Framework 2'

image

zf2book/zf-deals

This is the companion to the book 'Webentwicklung mit Zend Framework 2'

  • Saturday, October 20, 2012
  • by michael-romer
  • Repository
  • 3 Watchers
  • 8 Stars
  • 113 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 2 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Install

Main Install

  1. Add the following statement to the requirements-block of your composer.json: "zf2book/zf-deals": "dev-master","dlu/dlutwbootstrap": "dev-master"
  2. Run a composer update to download the libraries needed.
  3. Add "ZfDeals" and "DluTwBootstrap" to the list of active modules in application.config.php
  4. Import the SQL schema located in /vendor/zf2book/zf-deals/data/structure.sql
  5. Copy /vendor/zf2book/zf-deals/data/public/zf-deals to the public folder of your application.

Post Install

  1. If you do not already have a valid Zend\Db\Adapter\Adapter in your service manager configuration, put the following in /config/autoload/db.local.php:, (*1)

    <?php
    
    $dbParams = array(
        'database'  => 'changeme',
        'username'  => 'changeme',
        'password'  => 'changeme',
        'hostname'  => 'changeme',
    );
    
    return array(
        'service_manager' => array(
            'factories' => array(
                'Zend\Db\Adapter\Adapter' => function ($sm) use ($dbParams) {
                    return new Zend\Db\Adapter\Adapter(array(
                        'driver'    => 'pdo',
                        'dsn'       => 'mysql:dbname='.$dbParams['database'].';host='.$dbParams['hostname'],
                        'database'  => $dbParams['database'],
                        'username'  => $dbParams['username'],
                        'password'  => $dbParams['password'],
                        'hostname'  => $dbParams['hostname'],
                    ));
                },
            ),
        ),
    );
  2. Navigate to http://yourproject/deals or http://yourproject/deals/admin, (*2)

The Versions

20/10 2012

dev-master

9999999-dev http://zendframework2.de

This is the companion to the book 'Webentwicklung mit Zend Framework 2'

  Sources   Download

The Requires

 

zfdeals