There are Ansible playbooks which help to configure developers environment for Magento dev
docker run -d -p 3306:3306 -v /var/lib/mysql:/var/lib/mysql --restart always -e MYSQL_PASS="admin" --name=mysql --net=host tutum/mysql:5.6
Clone this repo with --recursive
flag to get it with submodules.
git clone --recursive git@github.com:riversy/developer-desk-config.git
Copy vars/local.sample.yml
to vars/local.yml
and set your own user name and path to working folder.
Run Ansible script that will setup your local environment.
ansible-playbook lamp.yml -i inventory/prod --ask-sudo-pass