Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.19 KB

README_DEV.md

File metadata and controls

46 lines (33 loc) · 1.19 KB

FOR DEVELOPER

PHPUnit Test are required. The PHPUnit could be started via Docker. To be successful, you need a ready-configured OXID with DB connection. The tool must be located in the source code of the OXID Framework.

Docker

Docker start. The image installs itself OXID and DB.

docker-compose up -d

Start PHPUnit test

docker-compose exec oxid_php /oxrun/vendor/bin/phpunit

In docker-compose.yml you could change the OXID version. can be found at github.com.

docker-compose.yml: services.oxid_php.environment.COMPILATION_VERSION = 'dev-b-6.3-ce'

OXID eShop

The source code of OXID eShop is, outside of container, inside in the folder of ./oxid-esale/

Container Struckture

|-- oxid-esale          # mount volume /var/www/oxid-esale | Container workdir
|   |-- composer.json
|   |-- source          # Apache Document root
|   |-- vendor
|
|-- .                   # mount volume /oxrun
|   |-- README.md
|   |-- phpunit.xml
|   |-- bin
|       -- oxrun
|   |-- src
|   |-- tests
|   |-- vendor
|   |   | -- bin
|            -- phpunit