Skip to content
This repository has been archived by the owner on Apr 21, 2020. It is now read-only.

Latest commit

 

History

History
64 lines (45 loc) · 1.69 KB

README.md

File metadata and controls

64 lines (45 loc) · 1.69 KB

Ceneo

Application allows to generate extended Ceneo XML formats.

Required permissions

Upon registration, make sure you request following permissions:

  • Attributes
  • Categories
  • Deliveries
  • Producers
  • Products
  • Taxes
  • Units

Application links

Application uses these links in admin panel:

Requirements

Exporter need:

  • PHP 5.4
  • Gearman (tested with 1.1.12 version)
  • Supervisord is recommended for keeping export workers alive
  • Cron access is recommended for scheduling jobs

Installation

register application in Appstore

clone this repository

composer install

bring yourself some coffee

type required parameters - database, appstore credentials

you can execute worker by typing php app/console ceneo:worker

Install application in your shop and click on Generate XML what enqueue a job.

In order to enqueue all shops job daily, add php app/console ceneo:enqueue in cron.

Supervisor

If you want to workers be maintained automatically and spawn more workers, use some user-level process manager, for example Supervisor.

Feel free to use this definition and modify for your needs

[program:ceneo_worker]
directory=/home/app/directory
command=/usr/bin/php app/console ceneo:worker -n --env=prod
process_name=%(program_name)s_%(process_num)02d
numprocs=5
autostart=true
aurorestart=true
redirect_stderr=true

It will spawn 5 workers and listen for jobs.