adding vth code as well as aaf and cert config
Change-Id: Ib137099ccac3109b9b38deab1c42ffade5d6a303
Signed-off-by: Rohan Patel <rp5811@att.com>
diff --git a/otf-robot-test-head/run.py b/otf-robot-test-head/run.py
new file mode 100644
index 0000000..c0c37dc
--- /dev/null
+++ b/otf-robot-test-head/run.py
@@ -0,0 +1,14 @@
+from app import create_app
+
+if __name__ == '__main__':
+ app = create_app()
+
+ # Set SSL context with the certificate chain and the private RSA key.
+ context = ('opt/cert/otf.pem', 'opt/cert/privateKey.pem')
+ app.run(
+ debug=app.config['DEBUG'],
+ host='0.0.0.0', port=5000,
+ use_reloader=True,
+ ssl_context=context)
+ # Run without ssl
+ # app.run(debug=app.config['DEBUG'], host='0.0.0.0', use_reloader=True, port=5000)
\ No newline at end of file