Git Product home page Git Product logo

masfernandez / symfony-ddd-hexarch-cqrs Goto Github PK

View Code? Open in Web Editor NEW
44.0 3.0 10.0 850 KB

Code examples and good practices using Domain Drive Development, Hexagonal Architecture, CQRS, Symfony 6, PHP8 and anything else I can think of...

License: MIT License

PHP 79.64% Shell 0.96% Makefile 3.06% Gherkin 15.43% Dockerfile 0.91%
docker symfony ddd hexagonal-architecture php8 behat phpunit shield

symfony-ddd-hexarch-cqrs's Introduction

Hi there ๐Ÿ‘‹

symfony-ddd-hexarch-cqrs's People

Contributors

masfernandez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

symfony-ddd-hexarch-cqrs's Issues

Doesn't start without promtail .env

Installation section of readme says that first need to execute make composer-install and then make up. But if it's fresh installation without promtail .env file didn't work.
Here is out put of make composer-install command"

bdaler@BDALER-LAPTOP-HONOR:~/apps/symfony-ddd-hexarch-cqrs$ make composer-install
make[1]: Entering directory '/home/bdaler/apps/symfony-ddd-hexarch-cqrs'
ENV=dev docker-compose  \
        -f docker-compose.local.yml \
        -f docker-compose.local-prod.yml \
        -f docker-compose.local-dev.yml \
        up -d --remove-orphans
ERROR: Couldn't find env file: /home/bdaler/apps/symfony-ddd-hexarch-cqrs/docker/promtail/.env
make[1]: *** [Makefile:94: up-dev] Error 1
make[1]: Leaving directory '/home/bdaler/apps/symfony-ddd-hexarch-cqrs'
Error: No such container: docker-symfony-php
make: *** [Makefile:189: composer-install] Error 1

I suggest to add something @if [ ! -f docker/promtail/.env ]; then cp docker/promtail/.env.dist docker/promtail/.env; fi for create-env-file: in Makefile and first for fresh install execute this command.

...
## โ€”โ€” envs โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
create-env-file:
	@if [ ! -f .env ]; then cp .env.dist .env; fi
+++	@if [ ! -f docker/promtail/.env ]; then cp docker/promtail/.env.dist docker/promtail/.env; fi
...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.