Skip to content

OXIDFabian/OXID_Docker_Stackv2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OXID Docker Stack

THIS IS A PRIVATE PROJECT AND NOT OFFICALY SUPPORTED BY OXID ESALES

Stack overview

  • Webserver container (httpd or nginx)
  • PHP container (7.4 - 8.0)
  • DB container (MySQL or MariaDB)
  • Memcached container
  • Mailhog container (default port: 8025)
  • Adminer container (default port: 8080)

Quickstart

install docker and docker-compose

download or git clone this repository

customize the .env file

if you want to install PE, EE, ERP module or the B2B module copy your credentials to the auth.json file

  • run docker-compose up -d to start the container stack

  • to keep track of the shop installation enter the following command docker-compose logs -f php

  • open http://localhost/ in your browser

OXID admin credentials

User: admin

Password: admin

data persistence

all data (www and mysql) will be stored in the data directory in your project folder

XDEBUG

set Debug Port in PHPStorm to 9001

Preferences -> Languages & Frameworks -> PHP -> Debug -> xdebug

run setup manually

set INSTALL_SHOP=false in the env file

run docker-compose up -d

open http://localhost/Setup

Unit tests

How to execute the Unit tests.

Starting point of each action is the shop root directory. The shop root directory is the place where are the folders source/ and vendor/ are located.
Be aware to execute the tests in the context of the container.

  1. Adapting the test configuration file

    1. Open test_config.yml
    2. Search for: shop_tests_path: tests
    3. Replace with: shop_tests_path: vendor/oxid-esales/oxideshop-ce/tests
  2. Restore the directory Setup

    1. Rename the folder _Setup to Setup.
  3. Executing the tests

    1. Navigate into the vendor/bin directory
    2. execute the command: php runtests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages