jorgechavezrnd / codelytv-clone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐘🎯 Clone of codelytv pro platform applying Domain-Driven Design, Hexagonal Architecture and CQRS in a Monorepository

jorgechavezrnd CodelyTV Courses Symfony 5.0 CI pipeline status

πŸš€ Environment Setup

🐳 Needed tools

  1. Install Docker
  2. Clone this project: git clone https://github.com/jorgechavezrnd/codelytv-clone.git
  3. Move to the project folder: cd codelytv-clone

πŸ› οΈ Environment configuration

  1. Create a local environment file (cp .env .env.local) if you want to modify any parameter

πŸ”₯ Application execution

  1. Install all the dependencies and bring up the project with Docker executing: make build
  2. Then you'll have 1 app available (1 API):
    1. Mooc Backend: http://localhost:8030/health-check

βœ… Tests execution

  1. Install the dependencies if you haven't done it previously: make deps
  2. Execute PHPUnit and Behat tests: make test

Command for start mooc backend application server

php -S 127.0.0.1:8030 apps/mooc/backend/public/index.php

                            OR

symfony serve --dir=apps/mooc/backend/public --port=8030 --force-php-discovery

Command for run mooc backend application acceptance tests

./vendor/bin/behat -p mooc_backend

About


Languages

Language:PHP 79.9%Language:Makefile 13.3%Language:Dockerfile 4.3%Language:Gherkin 2.2%Language:Shell 0.4%