This repo contains all the code, artifacts and instructions required to run our project.
In order to build, test and run the code locally, Python 3.6 needs to be installed.
pip3 install -r requirements.txt
python3 test_calculate_next_state.py
python3 test_server.py
python3 server.py
Server will then listen on localhost:5000.
First, both Docker Engine runtime and Docker Compose need to be installed (on a linux machine, as the images are linux based).
sudo docker build -t currency-calculator:v1.0 .
sudo docker run -d -p 5000:5000 currency-calculator:v1.0
sudo docker-compose build
sudo docker-compose up
Then, you may surf to http://localhost/
.