zf2book / zf-deals
There is no license information available for the latest version (dev-master) of this package.
This is the companion to the book 'Webentwicklung mit Zend Framework 2'
dev-master
2012-10-20 20:10 UTC
Requires
- php: >=5.3.3
- zendframework/zendframework: 2.*
This package is not auto-updated.
Last update: 2025-04-12 16:16:13 UTC
README
Main Install
- Add the following statement to the requirements-block of your composer.json: "zf2book/zf-deals": "dev-master","dlu/dlutwbootstrap": "dev-master"
- Run a composer update to download the libraries needed.
- Add "ZfDeals" and "DluTwBootstrap" to the list of active modules in
application.config.php
- Import the SQL schema located in
/vendor/zf2book/zf-deals/data/structure.sql
- Copy
/vendor/zf2book/zf-deals/data/public/zf-deals
to the public folder of your application.
Post Install
-
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
:<?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'], )); }, ), ), );
-
Navigate to http://yourproject/deals or http://yourproject/deals/admin