Haochen Wang (hw362) Hongxi Chen (hc413)
- For functionality checklist and danger log, please refer to the files in the same directory as this README.
- For deploying, please enter
docker-deploydirectory and rundocker compose up. It will automatically build the code and start serving on port host 12345. The log file will be stored indocker-deploy/logs/proxy.log.
- An automated test script is provided in
docker-deploy/src/tests/test_all.py. - The test script requires
psutilpython package to be installed. Please install it usingpip install psutil. - The test should be run inside
docker-deploy/src/tests/directory. - Since the proxy server will write to
/var/log/erss, please run the test script withsudoor give appropriate permission to the related directory, otherwise the proxy server can't start. - The tests are carried out using
curland relies on the service ofhttpbin.org. In case of network issues, the test script may fail, please run it again. - Since
httpbin.orgis unstable sometimes, we have deployed a self-hosted instance ofhttpbininvcm-46275.vm.duke.edu, which is used for the test by default. In case of any issues, please changeHTTPBIN_ENDPOINTintest_all.pyback tohttpbin.org.