项目作者: friends-of-presta

项目描述 :
The PrestaShop 1.7.6 training module
高级语言: PHP
项目地址: git://github.com/friends-of-presta/training.git
创建时间: 2019-04-21T21:09:15Z
项目社区:https://github.com/friends-of-presta/training

开源协议:

下载


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 modules directory of your PrestaShop installation
  2. Make sure module directory is named pstraining
  3. cd into module’s directory and run following commands:
    • composer dumpautoload to generate autoloader for module
    • yarn install to install Encore (see Webpack Encore to learn more about Encore)
    • yarn encore dev to compile assets for development environment
    • (optional) yarn encore production 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 ./../../vendor/bin/phpunit