Skip to content

Latest commit

 

History

History
150 lines (93 loc) · 2.08 KB

File metadata and controls

150 lines (93 loc) · 2.08 KB

Docker - Magento

Installation

You only need 3 things on your local machine: git, docker and make

Install Docker

Follow the installation steps for your system.

Linux
  1. Install docker

  2. Install Docker Compose

  3. Configure permissions

Install Make

Installing the make command on linux

sudo apt-get update
sudo apt-get install -y make

You can install make by downloading the build-essential package, as follows

sudo apt install build-essential

App Install

Clone this repo

git clone https://github.com/jamacio/magento-cloud-docker.git

Go to the directory magento-cloud-docker

cd magento-cloud-docker

After running the build command, notice that a folder has been created: magento

make build

Maybe you need to inform username get it here: Authentication (repo.magento.com)

make magento-download

Install Application

make magento-install

Download sample data

make magento-sampledata

Magento clear

make magento-clear

Usage

Start Application

make up

Stop Application

make stop

Watch Application

make watch

Magento/Application

  1. make magento-composer update
  2. make magento-restore-db path-to-database-dump.sql
  3. make magento-clear
  4. make magento-bash

Access the phpmyadmin

Db url: http://localhost:8081/

Access the admin panel

Panel url: http://localhost/admin

login:

admin

password:

admin123