Populate .env (or .env.local)
# example
POSTGRES_DB=app_db
POSTGRES_PASSWORD=app_pass
POSTGRES_USER=app_userFrom project root run one
docker compose --env-file .env --env-file .env.local up -d
# or
# make devmake dev automatically loads .env.local after .env when file exists.
http://.../api/doc
# default:
http://localhost:8080/api/doc
- Run
/api/games/setup-datato get a Classes and Items list - Run
/api/games/startto receive agameId - Run
/api/games/{gameId}/next-roundto play next round
PHPStan analyses src using the configuration in phpstan.dist.neon.
# Run analyze
make pstan
# Pass additional PHPStan arguments after `--`:
make pstan -- --level 8
# Regenerate the baseline:
make pstan-baselineTo disable OPCache in Dev environment replace docker/php/opcache.ini with:
opcache.enable=0
opcache.jit=disable
opcache.jit_buffer_size=0make help
make [target] -- [arguments] # e.g. make down -- -v