The PrestaShop 1.7.6 training module
modules
directory of your PrestaShop installationpstraining
cd
into module’s directory and run following commands:composer dumpautoload
to generate autoloader for moduleyarn install
to install Encore (see Webpack Encore to learn more about Encore)yarn encore dev
to compile assets for development environmentyarn encore production
to compile assets for production use (e.g. before submitting module to Addons Marketplace or installing on live shop)This module is using PHPUnit that comes with PrestaShop. To Run tests follow instructions below.
./../../vendor/bin/phpunit