Ledyer order management for Woocommerce
Spin up docker images
- update deps with `composer update'
- cd to ledyer-order-management-for-woocommerce and add a .env
- add
PHP_VERSION=8
orPHP_VERSION=7
and save the file - composer install (brew install composer)
- docker-compose up --build -d
- Browse http://localhost:8181 / http://localhost:8181/wp-admin
If you want to run the ledyer-order-management-for-woocommerce together with ledyer-checkout-for-woocommerce you need to either install it from the market place or include a local copy. To run it with a local copy, you need to have Ledyer checkout checked out.
Then edit docker-compose and add ledyer-checkout-for-woocommerce
wordpress-dev:
...configuration
volumes:
- "./:/var/www/html/wp-content/plugins/ledyer-order-management-for-woocommerce"
- "../ledyer-checkout-for-woocommerce/:/var/www/html/wp-content/plugins/ledyer-checkout-for-woocommerce"
- wpdata:/var/www/html
wordpress-cli:
...configuration
volumes:
- "./:/var/www/html/wp-content/plugins/ledyer-order-management-for-woocommerce"
- "../ledyer-checkout-for-woocommerce/:/var/www/html/wp-content/plugins/ledyer-checkout-for-woocommerce"
- wpdata:/var/www/html
In VS code, install xdebug and optionally a PHP intellisense extension. Then just click Run and debug