- clone this repository
- run
sh build.sh && sh run.sh
- Exec into container:
docker exec -it string-service sh
- Run
composer update
to making sure all the dependencies is installed and updated cd
intocmd
directory- run following command
/app/cmd# php cli.php hello world
It will convert the string to uppercase and print out then will convert to alternate case, print out. and save the original string into a CSV file
Run all the tests from container.
docker exec -it string-service composr run test