Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Issue #56: missing minimal configuration for Zend\Db #57

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions doc/book/getting-started/skeleton-application.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,19 @@ prompts that you may not want to enable by default is `Zend\Test`.)
Once the installation is done, the skeleton installer removes itself, and the
new application is ready to start!

### Small DB configuration

When you have chosen "y" for database support with 'Zend\Db', you need to create a minimal database configuration in `config/autoload/global.php`. In [Database and models](/tutorials/getting-started/database-and-models) chapter we will explain more about this configuration, but for now it's enough to just add the following.

```php
return [
'db' => [
'driver' => 'Pdo',
'dsn' => 'sqlite::memory:',
],
];
```

> ### Downloading the skeleton
>
> Another way to install the ZendSkeletonApplication is to use github to
Expand Down