Giter Site home page Giter Site logo

samuelebau / magento2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from clean-docker/magento2

0.0 2.0 0.0 168 KB

Docker Image to Magento 2 local development in Mac, Linux and Windows

Home Page: https://hub.docker.com/r/rafaelcgstz/magento2/

License: MIT License

Shell 40.11% PHP 59.89%

magento2's Introduction

Magento 2

Magento 2 Docker to Development

Apache 2.4 + PHP 7.0 + OPCache + MariaDB + N98 Magerun 2 + XDebug + Redis

Build Status Docker Build Docker Pulls Docker Starts Build Status Releases

Requirements

MacOS:

Install Docker, Docker-compose and Docker-sync.

Windows:

Install Docker, Docker-compose and Docker-sync.

Linux:

Install Docker and Docker-compose.

How to use

Execute in your terminal, change the MYMAGENTO2 to use the name of your project:

curl -s https://raw.githubusercontent.com/clean-docker/Magento2/master/init | bash -s MYMAGENTO2 clone

If you want to install the Magento 2, use like that:

cd MYMAGENTO2
./shell
rm index.php
install-magento2

You can specify the version that want install (e.g. install-magento2 2.2).

Panels

Enjoy your new panels!

Web server: http://localhost/

PHPMyAdmin: http://localhost:8080

Local emails: http://localhost:8025

Features commands

Commands Description Options & Examples
./init If you didn't use the CURL setup command above, please use this command changing the name of the project. ./init MYMAGENTO2
./start If you continuing not using the CURL you can start your container manually
./stop Stop your project containers
./kill Stops containers and removes containers, networks, volumes, and images created to the specific project
./shell Access your container ./shell root
./magento Use the power of the Magento CLI
./n98 Use the Magerun commands as you want
./grunt-init Prepare to use Grunt
./grunt Use Grunt specifically in your theme or completely, it'll do the deploy and the watcher. ./grunt luma
./xdebug Enable / Disable the XDebug
./composer Use Composer commands ./composer update

Elasticsearch

To use elastic search you can use this command below:

$ docker-compose -f docker-compose.yml -f docker-compose.elasticsearch.yml up

or to run in the background using detached mode

$ docker-compose -f docker-compose.yml -f docker-compose.elasticsearch.yml up -d

Elasticsearch: http://localhost:9200

License

MIT © 2018 Rafael Corrêa Gomes and contributors.

magento2's People

Contributors

rafaelstz avatar viniciusbordinhao-redstage avatar ndlinh avatar rossmc avatar viniciusbord9 avatar

Watchers

James Cloos avatar Samuele Bau avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.