- Warden 0.6.0 or later is installed. Reference documentation on Installing Warden for further info on Warden requirements and install procedures.
The base images used by this demo environment can be found on Docker Hub or on Github at the following locations:
- https://github.com/davidalger/warden/tree/develop/images
- https://github.com/davidalger/docker-images-magento
-
Clone this repository.
mkdir -p ~/Sites/m2demo git clone [email protected]:davidalger/m2demo.git ~/Sites/m2demo
-
Change into the demo environment's local directory.
cd ~/Sites/m2demo
-
Build and start the environment (optionally passing the
--no-sampledata
flag):warden bootstrap
-
Launch the site in your browser and login using information provided in the script output.
-
Update the
.env
file with the appropriate versions.TRAEFIK_SUBDOMAIN=demo-v23-latest MAGENTO_VERSION=2.3 PHP_VERSION=7.3
-
Destroy the environment if already running.
-
Build the environment via steps outlined above.
-
Change into the demo environment's local directory.
cd ~/Sites/m2demo
-
Tear down containers, volumes, networks, etc.
warden env down -v
This work is licensed under the MIT license. See LICENSE file for details.