Skip to content

Latest commit

 

History

History
69 lines (52 loc) · 1.06 KB

README.md

File metadata and controls

69 lines (52 loc) · 1.06 KB

Local installation for development

Prerequisites

Install Docker

Install docker-compose

Mac

Install Docker for Mac : https://store.docker.com/editions/community/docker-ce-desktop-mac

Use command to install docker sync :

./docker.sh install_dockersync

Installation

##On mac install docker-sync :

chmod a+x docker.sh && ./docker.sh install

##Set configuration parameter of your project : Update file env-conf and replace default by your application name and list plugins you want to use like :

APPLICATION_NAME=my_application
PLUGINS=mailcatcher/elk

##Execute init script :

chmod a+x docker.sh && ./docker.sh init

Copy your project in app folder

Check nginx config in docker/app/conf/site-available

Hosts

Add in your hosts file:

127.0.0.1 local.default.fr

Run the docker stack:

./docker.sh start

Connect to container bash

./docker.sh bash

Debug

./docker.sh xdebug enable

Enable xdebug

./docker.sh xdebug enable

Disable xdebug

./docker.sh xdebug enable