GithubHelp home page GithubHelp logo

davidalger / m2demo Goto Github PK

View Code? Open in Web Editor NEW
36.0 3.0 9.0 79 KB

Magento 2 Demo with sample data powered by Docker Desktop and Warden

License: MIT License

Shell 100.00%
magento2 demo docker warden

m2demo's Introduction

Magento Demo Environment

Prerequisites

  • Warden 0.6.0 or later is installed. Reference documentation on Installing Warden for further info on Warden requirements and install procedures.

Docker Images

The base images used by this demo environment can be found on Docker Hub or on Github at the following locations:

Building Environment

  1. Clone this repository.

    mkdir -p ~/Sites/m2demo
    git clone [email protected]:davidalger/m2demo.git ~/Sites/m2demo
    
  2. Change into the demo environment's local directory.

    cd ~/Sites/m2demo
    
  3. Build and start the environment (optionally passing the --no-sampledata flag):

    warden bootstrap
    
  4. Launch the site in your browser and login using information provided in the script output.

Deploying Older Magento Versions

  1. Update the .env file with the appropriate versions.

    TRAEFIK_SUBDOMAIN=demo-v23-latest
    MAGENTO_VERSION=2.3
    PHP_VERSION=7.3
    
  2. Destroy the environment if already running.

  3. Build the environment via steps outlined above.

Destroying Environment

  1. Change into the demo environment's local directory.

    cd ~/Sites/m2demo
    
  2. Tear down containers, volumes, networks, etc.

    warden env down -v
    

License

This work is licensed under the MIT license. See LICENSE file for details.

m2demo's People

Contributors

davidalger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.