summaryrefslogtreecommitdiff
path: root/R_on_Cloud/default_config.py
diff options
context:
space:
mode:
authorPrashant S2019-07-16 14:44:05 +0530
committerGitHub2019-07-16 14:44:05 +0530
commit07ae1bafcc89c187b4471ddcb9fd19bb213d6c87 (patch)
treecbc630be80d0995ded8dfac87c1a759a2b5d3b6b /R_on_Cloud/default_config.py
parent2b9b960c698cd541300fbfa96dc2cec515852adc (diff)
parentd5138c4af46e9519a0c5b18ef7142ffe0a9383fa (diff)
downloadR_on_Cloud_Web_Interface-07ae1bafcc89c187b4471ddcb9fd19bb213d6c87.tar.gz
R_on_Cloud_Web_Interface-07ae1bafcc89c187b4471ddcb9fd19bb213d6c87.tar.bz2
R_on_Cloud_Web_Interface-07ae1bafcc89c187b4471ddcb9fd19bb213d6c87.zip
Merge pull request #2 from prashantsinalkar/master
added file upload feature
Diffstat (limited to 'R_on_Cloud/default_config.py')
-rw-r--r--R_on_Cloud/default_config.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/R_on_Cloud/default_config.py b/R_on_Cloud/default_config.py
index ad4aee5..6ad9982 100644
--- a/R_on_Cloud/default_config.py
+++ b/R_on_Cloud/default_config.py
@@ -7,11 +7,16 @@ DB_HOST_DEFAULT = ''
DB_PORT_DEFAULT = ''
-BIN = '/usr/bin/R'
+BIN = '/usr/bin/R' # Path of R bin file
API_URL = "http://127.0.0.1:8001/rscript"
API_URL_PLOT = "http://127.0.0.1:8001/file"
+ALLOWED_HOST_IP = ['Host IP']
+
+TORNADO_IP = '0.0.0.0'
+TORNADO_PORT = '8000' # default port
+
SECRET_KEY_STRING = SECRET_KEY
# request_count keeps track of the number of requests at hand, it is incremented