https://github.com/ilmarin/dispatcher-test
Simple dispatcher emultaion
https://github.com/ilmarin/dispatcher-test
codeception php
Last synced: 6 months ago
JSON representation
Simple dispatcher emultaion
- Host: GitHub
- URL: https://github.com/ilmarin/dispatcher-test
- Owner: ilmarin
- License: mit
- Created: 2017-12-17T09:29:28.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-17T14:55:46.000Z (about 8 years ago)
- Last Synced: 2025-03-27T17:49:31.283Z (10 months ago)
- Topics: codeception, php
- Language: PHP
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
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
```bash
$ docker-compose up -d dispatch
$ docker-compose run dispatch composer install
```
# Automated tests
```bash
$ docker-compose run dispatch vendor/bin/codecept build
$ docker-compose run dispatch vendor/bin/codecept run unit
```
# Test run
Ensure you have run tests before. Than execute
```bash
$ docker-compose run dispatch php index.php
```
Also you can run worker itself
```bash
$ docker-compose run dispatch php worker.php
```