A simple Zend Framework 2 application for getting an overview of your use cases. (Based on ZF2 and ZendSkeletonApplication
This app is currently under heavy development.
Comming soon...
-
Clone this project into your
./pathToProject/
directory. -
Change directory to your project directory:
cd pathToProject/
-
Now tell composer to download all requirements by running the command:
php composer.phar self-update php composer.phar install
-
Copy the
config/autoload/local.php.dist
file for your project:cp config/autoload/local.php.dist config/autoload/local.php
-
Enabling your DB connection in your
config/autoload/local..php
file.<?php return array( 'doctrine' => array( 'connection' => array( 'orm_default' => array( 'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver', 'params' => array( 'host' => 'localhost', 'port' => '3306', 'user' => 'dbuser', 'password' => 'dbpassword', 'dbname' => 'dbname', ) ) ) ), //... );
-
Create your database
mysql -u root -e"CREATE DATABASE use_cases_dev;"
-
Load default database dump
mysql -u root use_cases_dev < data/dumps/initial_dump.sql
-
Make sure that the directory
pathToProject/data
is writeable by your web server -
Make sure that the document root of your virtual host points to the
public
directory