phd5-app
========

A universal web application template built upon Docker, PHP and Yii 2.0 Framework

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/dmstr/phd5-app/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dmstr/phd5-app/?branch=master)
:construction_worker: [![Build Status](https://travis-ci.org/dmstr/phd5-app.svg?branch=master)](https://travis-ci.org/dmstr/phd5-app)
:wolf: [![build status](https://git.hrzg.de/dmstr/phd5-app/badges/master/build.svg)](https://git.hrzg.de/dmstr/phd5-app/commits/master)

Documentation
-------------
 
See [docs](https://github.com/dmstr/phd5-docs)

Using this repository as a base-image, see [phd5-template](https://github.com/dmstr/phd5-template)

TL;dr
-----

### Requirements

- docker `>=17.05`
- docker-compose `>=1.16.0`
- make (optional)

### Development

    make all

Show help

    make help

Create bash    
    
    make bash

Run setup in container    
    
    $ yii app/setup

See [configuration](https://github.com/dmstr/phd5-docs/blob/master/guide/development/configuration.md)...


### Testing

Initialize application and run command from `tests` folder

    make test
    
Debug tests inside the container    
      
    make bash
    $ codecept run -d

See [testing](https://github.com/dmstr/phd5-docs/blob/master/guide/development/testing.md)...   


---

#### ![dmstr logo](http://t.phundament.com/dmstr-16-cropped.png) Built by [dmstr](http://diemeisterei.de)        
