Skip to content

Latest commit

 

History

History
67 lines (49 loc) · 1.04 KB

README.md

File metadata and controls

67 lines (49 loc) · 1.04 KB

Marketplace-hub

A simple demo of a Marketplace Hub

Build Status

Project configuration

1) Environment configuration (use docker + docker-compose):

docker-compose up -d

2) Run composer inside container, following this code:

docker exec -it marketplace-hub_php_1 bash
su docker
cd /var/www/marketplace-hub/
php composer.phar install

3) Create database and update schema:

php app/console doctrine:database:create
php app/console doctrine:schema:update

4) Run data Fixtures:

app/console doctrine:fixtures:load

5) Done, access using this url: Run behat

bin/behat

Run phpunit

bin/phpunit -c tests/phpunit.xml

6) Hosts:

Access
http://marketplace-hub.dev:8080

Api doc
http://marketplace-hub.dev:8080/api/doc

ELK
http://localhost:5601/

RabbitMQ
http://localhost:15672/

7) Consumers:

app/console rabbitmq:consumer -w seller_create_order