All commands are from this directory.
~$ python app.pyor to start the flask app in debug mode
~$ python app.py -dGo to http://0.0.0.0:8080/ and you will see a basic website that can be customtized for a project.
see the code at the bottom of model.py
~$ python model.py~$ docker build -t iris-ml .Before running the unit tests launch the app.py.
To run only the api tests
~$ python unittests/ApiTests.pyTo run only the model tests
~$ python unittests/ModelTests.pyTo run all of the tests
~$ python run-tests.py~$ docker run -p 4000:8080 iris-mlGo to http://0.0.0.0:4000/ and you will see a basic website that can be customtized for a project.