Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidalger/m2demo
Magento 2 Demo with sample data powered by Docker Desktop and Warden
https://github.com/davidalger/m2demo
demo docker magento2 warden
Last synced: 2 months ago
JSON representation
Magento 2 Demo with sample data powered by Docker Desktop and Warden
- Host: GitHub
- URL: https://github.com/davidalger/m2demo
- Owner: davidalger
- License: mit
- Created: 2016-03-04T15:55:53.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-07-28T19:45:39.000Z (over 4 years ago)
- Last Synced: 2024-04-12T02:21:39.347Z (9 months ago)
- Topics: demo, docker, magento2, warden
- Language: Shell
- Homepage:
- Size: 77.1 KB
- Stars: 36
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Magento Demo Environment
## Prerequisites
* [Warden](https://warden.dev/) 0.6.0 or later is installed. Reference documentation on [Installing Warden](https://docs.warden.dev/installing.html) 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:
* https://github.com/davidalger/warden/tree/develop/images
* https://github.com/davidalger/docker-images-magento## Building Environment
1. Clone this repository.
mkdir -p ~/Sites/m2demo
git clone [email protected]:davidalger/m2demo.git ~/Sites/m2demo2. 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.32. Destroy the environment if already running.
4. 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.