Module for showcasing new features of PrestaShop
Requirements
1. Composer, see Composer to learn more 2. Yarn, see Yarn to learn more
How to install
1. Download or clone module into <code>modules</code> directory of your PrestaShop installation 2. Make sure module directory is named <code>pstraining</code> 3. <code>cd</code> into module's directory and run following commands:
- <code>composer dumpautoload</code> to generate autoloader for module
- <code>yarn install</code> to install Encore (see Webpack Encore to learn more about Encore)
- <code>yarn encore dev</code> to compile assets for development environment
- (optional) <code>yarn encore production</code> to compile assets for production use (e.g. before submitting module to Addons Marketplace or installing on live shop)
4. Install module from Back Office
How to run tests
This module is using PHPUnit that comes with PrestaShop. To Run tests follow instructions below.
1. Make sure you are inside module directory 2. Run <code>./../../vendor/bin/phpunit</code>
Komentarze (0)
Chwilowo nie możesz polubić tej opinii
Zgłoś komentarz
Zgłoszenie wysłane
Twoje zgłoszenie nie może zostać wysłane