The repo contains the Coding task from Statista. The task is done in Symfony framework. The application is in /app/STtask folder.
docker
docker build -t sttask-mahesh .
docker run --rm -dp 8000:8800 --name=STtaskMahesh sttask-mahesh
Open Browser (http://localhost:8000/) to see FizzBuzz Output
docker exec -it STtaskMahesh bash
//you will be bash into container, execute following command to see results of Unit Test
php bin/phpunit
exit //to exit the bash terminal
docker stop STtaskMahesh
php-cli, composer
cd app/STtask
php bin/console server:start
// execute following command to see results of Unit Test
php bin/phpunit
php bin/console server:stop