Skip to content

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

License

Notifications You must be signed in to change notification settings

davidalger/m2demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages