Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.27 KB

README.md

File metadata and controls

55 lines (36 loc) · 1.27 KB

symfony-ddd-skeleton

An empty Symfony 3 project with a self-contained custom development environment on Docker.

Include:

  • Nginx + php7-fpm
  • MySql

Prerequisites

Usage

  1. Clone the Project.
  2. Copy /provision/development/docker-compose.yml.dist to project root removing .dist extension.
  3. Start containers using:
docker-compose up -d --build

Access via web:
http://symfony-ddd-skeleton.dev/ (PROD)
http://symfony-ddd-skeleton.dev/app_dev.php (DEV)

Access to php-fpm:

docker exec -it app_dev_fpm  bash

Ready to use!

PHPStorm Configuration

  1. Create a Docker Interpreter and Docker Server.

alt text

alt text

Check out if your Docker container is correctly configured (specially the host path):

alt text

  1. Create a PhpUnit configuration.

alt text