mowadigital / magento-docker-compose

21 stars 21 forks source link

magento-docker-compose

Installation Guide

  1. Clone the magento-docker-compose repository by executing the following command in the working directory:
    git clone https://github.com/mowadigital/magento-docker-compose.git <name folder>

  2. Go into the folder
    cd <name folder>

  3. Edit the docker-copmose.yml file (with VIM) VIM cheat Sheet
    vi docker-compose.yml

  4. Start editing in VIM press 'i'

  5. Replace 'magento002' with magentodemo
    :%s/old/new/g (replace all old with new throughout file)
    :%s/magento002/magentodemo/g

  6. Save and quit VIM
    :wq

  7. Run Docker (this will create/pull the images)
    docker-compose up -d

  8. View the current containers
    docker ps

Setup Magento

Magento Setup Wizard

  1. Click on the 'Start Readiness Check' button

This will check your PHP version, settings, extensions and file permissions

click 'next'

  1. Add a database

Database Server Host -> db
Database Server Username -> root
Database Server Password -> root
Database Name -> magentodemo
Table prefix (optional) -> (leave empty)

click 'next'

  1. Web cofig

Your Store Address -> http://localhost:8002/ (already predefined)
Magento Admin Address -> http://localhost:8002/(adminlink) (also predefined)

click 'next'

  1. Customize your store

Store Default Time Zone -> "choose your timezone"
Store Default Currency -> "choose your currency"
Store Default Language -> "choose your default language"

click 'next'

  1. Create admin account

New Username -> "choose a username"
New Email -> "fill in an emailaddress"
New Password -> "choose a password"
Confirm Password -> "confirm the password"

click 'next'

  1. READY! Click on the 'Install Now' button