Decision System - Assignment 6 Part 2b
Running the Server:
- Running the server requires an installation of IronPython.
- After installing IronPython, you must also install the requests module with pip
- Call ipy -X:Frames ServerIncomingData.py -h to see a help message on the command-line flags.
- You must specify the -X:Frames flag when running the server.
Demo Code:
- User's location changes will be sent by the Server API. This data is posted on a local server.
- The data received is sent to the persistent server.
- A decision is made based on the latitude and longitude of the user.
- The decision is conveyed to the Server API via a POST method and to the Persistent Server via a PATCH method.
Files being used in the Demo:
- ServerIncomingData.py
- decisions.py