项目作者: ilmarin

项目描述 :
Simple dispatcher emultaion
高级语言: PHP
项目地址: git://github.com/ilmarin/dispatcher-test.git
创建时间: 2017-12-17T09:29:28Z
项目社区:https://github.com/ilmarin/dispatcher-test

开源协议:MIT License

下载


Dispatcher emulation

Emulation of mass mailing according to some criteria.

Project uses docker, docker-compose and rabbitMQ.

Installation

Ensure you have docker and docker-compose installed.

After project cloning go to docker directory and execute

  1. $ docker-compose up -d dispatch
  2. $ docker-compose run dispatch composer install

Automated tests

  1. $ docker-compose run dispatch vendor/bin/codecept build
  2. $ docker-compose run dispatch vendor/bin/codecept run unit

Test run

Ensure you have run tests before. Than execute

  1. $ docker-compose run dispatch php index.php

Also you can run worker itself

  1. $ docker-compose run dispatch php worker.php