Skip to content

Latest commit

 

History

History
66 lines (55 loc) · 1.05 KB

README.md

File metadata and controls

66 lines (55 loc) · 1.05 KB

symfony.dev

Symfony on Docker

First, clone this repository:

$ git clone https://github.com/DjangoFR/symfony.dev.git

Tools you need on your host

docker
docker-compose ( min version >= 1.6)
  -> $ ./bin/docker-compose-install.sh
wget
mysql-client
phpstorm
  -> https://www.jetbrains.com/phpstorm/download/download-thanks.html?platform=linux
  or
  -> https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program

Add following to /etc/hosts

127.0.0.1	symfony.dev

Installation (first time)

$ ./bin/dockremap.sh
$ ./bin/build.sh 
$ ./bin/start.sh 
$ ./bin/symfony.sh 

Updates

$ cd symfony.dev
$ git fetch origin master
$ git pull origin master

$ ./bin/stop.sh
$ ./bin/docker-delete-all-images.sh 
$ ./bin/build.sh 
$ ./bin/start.sh 

Now you can start to

connect to mysql

$ ./bin/mysql.sh

open TTY to one of containers

$ ./bin/tty.sh

and follow instructions.

debug in PhpStorm

PhpStorm debugger configuration