rshop/app

RSHOP skeleton app

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Type:project

v1.9.2 2025-02-14 12:58 UTC

README

Installation

  • composer install
  • bin/cake rshop update
  • bin/fe i
  • bin/cake rshop install symlink

Dummy data

If there is no data available, you can run seed files for dummy data. Use them only in development phase before the project goes to production.

config/seed.php
  • DEPRECEATED! - use migrations for that
  • bin/cake BasicSeed.basic_seed - for boxes and banner places
    config/seed_dev.php
  • bin/cake BasicSeed.basic_seed -d - for dummy data & box items/subitems

Usefull commands

project migrations

  • bin/cake migrations create MigrationName - new migration for project
  • bin/cake migrations migrate - run project migrations
  • bin/cake migrations rollback - rollback of the last project migration
  • bin/cake migrations mark_migrated 20240419093004 - mark migration as migrated

    rshop/admin migrations

  • bin/cake migrations create MigrationName --plugin=Rshop/Admin - new migration for rshop/admin
  • bin/cake rshop update migrate - run rshop/admin migrations
  • bin/cake rshop update rollback - rollback of the last rshop/admin migration
  • bin/cake migrations mark_migrated 20240419093004 -p Rshop/Admin - mark migration in rshop/admin as migrated

    cache

  • bin/cake orm_cache clear - db cache
  • bin/cake cache clear_all - clear all
  • bin/cake cache clear cacheName - clear individual cache
    • _cake_core_
    • _cake_model_
    • bin/cake cache list_prefixes - list all available prefixes