- If not already done, install Docker Compose (v2.10+)
- Run
docker compose build --no-cache
to build fresh images - Run
docker compose up --pull -d --wait
to start the project - Open
https://localhost
in your favorite web browser and accept the auto-generated TLS certificate - Run
docker compose down --remove-orphans
to stop the Docker containers.
-
Http:
- After launching the containers, open the home page and enter any name.
-
Cli:
-
Run the command
make quiz <username>
. If you don't havemake
installed, you can also use:docker-compose exec php bin/console quiz:start <username>
-
- The quiz can be taken multiple times.
- Questions are selected randomly. However, if there are only a few questions, you might not notice the randomness.
-
To add a new question, execute the command
make question
or:docker-compose exec php bin/console question:add
-
Use
make
ormake sf
to get help on possible commands.