hexagonal-architecture-workshop
hexagonal-architecture-workshop copied to clipboard
Sandbox project for the "Hexagonal Architecture" training
You'll find all the available training programs here: https://matthiasnoback.nl/training/
Requirements
- Docker Engine
- Docker Compose
- Git
- Bash
Getting started
- Clone this repository (
git clone [email protected]:matthiasnoback/hexagonal-architecture-workshop.git) andcdinto it. - Run
bin/install. - Open http://localhost:8000 in a browser. You should see the homepage of the Bunchup application.
If port 8000 is no longer available on your local machine, modify docker-compose.yml to publish to another port:
ports:
# To try port 8081:
- "8001:8080"
Running development tools
- Run
bin/load-usersto create a standard set of users - Run
bin/composerto use Composer (e.g.bin/composer require symfony/var-dumper) - Run
bin/testto run all tests, including PHPStan - Run
bin/consoleto run CLI commands specific to this application (e.g.bin/console sign-up)
Cleaning up after the workshop
- Run
bin/cleanupto remove all containers for this project, their images, and their volumes. - Remove the project directory.