This is the source code behind blog.returnnull.de.
- clone repository
- build images with
make build
or withdocker compose build
- use
make run
ordocker-compose up -d
to start the containers- to install the dependencies and to update the autoloader (do this everyime you add a new class)
make install
ordocker-compose -f docker/compose/docker-compose-cli.yml run --rm --no-deps php_cli php -d memory_limit=-1 /usr/local/bin/composer install
- to install the dependencies and to update the autoloader (do this everyime you add a new class)
- use
make stop
ordocker-compose down --remove-orphans
to stop the containers
- go to http://localhost/admin
- login with username
tolik518
and passwordtolik518
make unit_test
- if you want to see the coverage in PHPStorm then follow these steps:
- Go to the menu bar in PHPStorm at the top
- Go to
Run
->Show Coverage Data
or pressStrg + Alt + 6
->+
- then choose
(projectfolder)/code/tests/reports/phpunit.coverage.xml
and pressOK
andshow selected