Skip to content

fitforecommerce/prestacollege

Repository files navigation

TravisCI build badge for PrestaCollege

PrestaCollege

A Prestashop module for use in school classrooms. This module is one of the results of the project Fit for E-Commerce which is co-funded by the Erasmus+ programme of the European Union.

Features

PrestaCollege lets you:

  • export and import database and file snapshots of shops which can be easily distributed to student's shops
  • create fake data for your shop

Installation

  1. You need a working Prestashop installation.
  2. Download the latest PrestaCollege release. Make sure to download the prestacollege.zip file!
  3. In the Prestashop backend go to the module manager and click 'Upload module'. Drag and drop the prestacollege.zip file onto the dialogue. Screenshot add module Screenshot upload module
  4. The module should automatically be installed. If the installation fails make sure that your php.ini values for upload_max_filesize and post_max_size are set to a larger value than the size of the prestashop.zip file. I would recommend to set the values to 128M - this should also be sufficient for file snapshots.

Todo

Create Snapshots

  • Implement Snapshot process
    • Add a version check if the database scheme of an export matches the installed version
    • Add an option to include/leave out specific tables
    • Export relevant database tables
    • Export relevant asset folders ('/img', '/modules') as zip
    • Import database tables from .sql file
    • Import asset folders from zip file
    • Upload snapshots from remote URL to server
    • Download existing snapshots from the server to your PC
    • Upload snapshot files from your PC to the server
    • Delete a snapshot from the server via the web interface
  • add German localization
  • add a popup/banner to avoid real customers from ordering

Fake stuff

  • fake customers
  • fake guests and customer visits (i.e. connections)
  • fake orders by customers
  • fake orphaned carts
  • fake a hacker attack
  • fake search terms

(c) 2018-2019 Martin Kolb issued under the GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007

Co-funded by the Erasmus+ Programme of the European Union

The European Commission support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein.