Skip to content

tiagosampaio/magento2-devlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento 2 DevLab

Magento 2 DevLab

Build Status

First Steps

Using this environment is really simple. Please follow the instructions below.

Clone this repository in some directory on your machine using git:

$ git clone git@github.com:tiagosampaio/magento2-devlab.git

Or by downloading it directly:

$ curl -L https://github.com/tiagosampaio/magento2-devlab/archive/master.zip -o [path to directory]

Let's say you downloaded the project to the directory ~/docker/magento2-devlab. Move on to the directory where you just downloaded this repository:

$ cd ~/docker/magento2-devlab

All of the helper scripts reside in the bin directory in the root directory of the project and they need to have execution permissions to be executed:

$ chmod +x ~/docker/magento2-devlab/bin/*

In the project's root directory just run:

$ bin/setup

Dependencies

This project depends on the following services:

Dependency Required Version
Docker Engine >= v19.00.0
Docker Compose >= v1.14.0

XDebug Hack for MacOS

On your MacOS terminal run:

sudo ifconfig lo0 alias 10.254.254.254

Inside PHP Docker container edit the following file:

> vim /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini

And set this configuration.

xdebug.remote_host=10.254.254.254