All commands designed to be run from the main folder (kheiron_solution)
Requirements are Flask and Requests (pip packages)
- Install with
pip3 install -r requirements.txt
- Install with
pip3 install flask requests
Run all tests with:
tests/test_all.sh
Run prefix test with:
tests/test_prefix.sh
Run infix test with:
tests/test_infix.sh
Run web test with:
tests/test_web.sh
Run prefix calculator with:
python3 src/prefix.py
Run infix calculator with:
python3 src/infix.py
Run web client with:
python3 src/prefix.py
Run web server with:
./run_server.sh
Notes:
- Developed and tested on Mac OS 11.2.1, using Python 3.9.1 and zsh version 5.8.
- I imagine any Unix platform with Python 3 (and pip) installed will be fine