diff options
author | prashantsinalkar | 2019-06-28 21:47:57 +0530 |
---|---|---|
committer | prashantsinalkar | 2019-06-28 21:47:57 +0530 |
commit | aec7175e6e60cf222b678e0f96c67f03c329e16c (patch) | |
tree | baad2e3ea9f7f09262c4ab285500741452502929 /R_on_Cloud | |
parent | 1473227a75101f5b76d6b522da5737df2f5eb058 (diff) | |
download | R_on_Cloud_Web_Interface-aec7175e6e60cf222b678e0f96c67f03c329e16c.tar.gz R_on_Cloud_Web_Interface-aec7175e6e60cf222b678e0f96c67f03c329e16c.tar.bz2 R_on_Cloud_Web_Interface-aec7175e6e60cf222b678e0f96c67f03c329e16c.zip |
added default config file
Diffstat (limited to 'R_on_Cloud')
-rw-r--r-- | R_on_Cloud/default_config.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/R_on_Cloud/default_config.py b/R_on_Cloud/default_config.py new file mode 100644 index 0000000..69eaec5 --- /dev/null +++ b/R_on_Cloud/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 |