Skip to content

Instantly share code, notes, and snippets.

@cristiano-pacheco
Created January 12, 2019 01:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cristiano-pacheco/8036312769eca72498b71f0a48e3ed01 to your computer and use it in GitHub Desktop.
Save cristiano-pacheco/8036312769eca72498b71f0a48e3ed01 to your computer and use it in GitHub Desktop.
Instruções para instalação do docker-magento
1-Clonar o repositório
git clone https://github.com/cristianopacheco/docker-magento
2-Copiar o diretório magento-2 dentro de docker-magento/compose para local de sua preferencia e entrar no diretório
2-Fazer instalação do código fonte do magento via composer
bin/download 2.3.0
3-subir os containers
bin/start
4-criar o banco de dados magento
usuario do mysql - magento
senha do mysql - magento
5-Alterar o arquivo bin/setup com os valores de sua preferencia e realizar o setup
bin/setup
6-Alterar o arquivo /etc/hosts
echo "127.0.0.1 local.magento2.com" | sudo tee -a /etc/hosts
Creditos ao autor markoshust, autor do repositório original (https://github.com/markoshust/docker-magento)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment