Devin Bowers, Holly Capell, Danielle Savage, Ian Smeenk, Spencer Stanley
Deploy code to an AWS box to accept HTTP post requests at port 8080 and process json data contained therein.
deploy.py
: Connects to AWS instance via SSH and runsapplet.py
. <prefix> is specified in this file.applet.py
: Runs flask app which listens on port 8080, logs post requests in /srv/runme/<prefix>/Raw.txt, and processes valid json, writing results to file /srv/runme/<prefix>/proc.txtdata_processing.py
: contains functionprocess_json()
, called byapplet.py
to parse information from json in post requests