py-cloudcv icon indicating copy to clipboard operation
py-cloudcv copied to clipboard

simplify code in utility/parseArguments

Open sreeram-dev opened this issue 10 years ago • 2 comments

The code base has nested try catch and redundant code. I did not change anything drastically. Many clients may use 8000 port for their primary webservers. CloudCV can be a part of bigger setup. We should give users the choose on which port they want to run the server.

sreeram-dev avatar Mar 04 '15 17:03 sreeram-dev

So the clients have to use 8000 port for the their primary webservers. The reason this nano - webserver is used is for OAuth 2.0 authentication. After the authentication is done on the web-browser, there is a redirect step for which I have to mention a fixed IP in the "Dropbox/Google" App setting. I have fixed it as localhost:8000.

Authentication with a python API by not giving away app's secret key is far from trivial and this is why we needed such a solution.

dexter1691 avatar Mar 04 '15 18:03 dexter1691

@dexter1691 Any suggestions?

sreeram-dev avatar Mar 06 '15 05:03 sreeram-dev