summaryrefslogtreecommitdiff
path: root/default_config.py
diff options
context:
space:
mode:
authorprashantsinalkar2019-06-28 21:44:43 +0530
committerprashantsinalkar2019-06-28 21:44:43 +0530
commit1473227a75101f5b76d6b522da5737df2f5eb058 (patch)
treedab59c0b7970a0b059d4eeb84aafd54e14ed47e9 /default_config.py
parent459d1aec769f62570af51a3a53ebe0bce4a6754c (diff)
downloadR_on_Cloud_Web_Interface-1473227a75101f5b76d6b522da5737df2f5eb058.tar.gz
R_on_Cloud_Web_Interface-1473227a75101f5b76d6b522da5737df2f5eb058.tar.bz2
R_on_Cloud_Web_Interface-1473227a75101f5b76d6b522da5737df2f5eb058.zip
added basic interface for development
Diffstat (limited to 'default_config.py')
-rw-r--r--default_config.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/default_config.py b/default_config.py
new file mode 100644
index 0000000..69eaec5
--- /dev/null
+++ b/default_config.py
@@ -0,0 +1,18 @@
+#Rename this file as config.py
+
+DB_NAME_DEFAULT = 'r_on_cloud'
+DB_USER_DEFAULT = 'root'
+DB_PASS_DEFAULT = 'root'
+DB_HOST_DEFAULT = ''
+DB_PORT_DEFAULT = ''
+
+
+BIN = '/usr/bin/R'
+
+SECRET_KEY_STRING = SECRET_KEY
+
+# request_count keeps track of the number of requests at hand, it is incremented
+# when post method is invoked and decremented before exiting post method in
+# class ExecutionHandler.
+DEFAULT_TORNADO_WORKERS = 1
+DEFAULT_REQUEST_COUNT = 1