Simple php application simulating a cleaning robot.
- setup port and IP address in docker compose file
- run docker-compose up
- docker exec -it container_name bash
- cd /var/www/robot
- run Composer install
From CLI run commands:
php Robot.php clean --floor=carpet --area=70 -vvv
run test from commandline inside container
./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/
Robot is open-sourced software licensed under the MIT license.