summaryrefslogtreecommitdiff
path: root/yaksh/settings.py
diff options
context:
space:
mode:
authorankitjavalkar2017-11-20 16:07:43 +0530
committerankitjavalkar2018-01-04 11:37:20 +0530
commit6f2e29a067cbeaf88b8ea478bb7c24fe8772180a (patch)
tree63f6efac4d2167bbe96a268ac990a4d9e0a1cc69 /yaksh/settings.py
parent2c057133d1b131a1573c93f0d0dbb548dcc8223e (diff)
downloadonline_test-6f2e29a067cbeaf88b8ea478bb7c24fe8772180a.tar.gz
online_test-6f2e29a067cbeaf88b8ea478bb7c24fe8772180a.tar.bz2
online_test-6f2e29a067cbeaf88b8ea478bb7c24fe8772180a.zip
Multiple Changes:
- Add python-decouple package to requirements - use sane defaults and python-decouple in yaksh.settings and online_test.settings module - Replace hardcoded localhost domain name referring to code server with dynamic - Move Dockerfile to dedicated directory - Add dynamic run-as-admin commands to the base command depending on OS - Replace linux specific commands like cp with Python functions
Diffstat (limited to 'yaksh/settings.py')
-rw-r--r--yaksh/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/settings.py b/yaksh/settings.py
index e414e75..d895d19 100644
--- a/yaksh/settings.py
+++ b/yaksh/settings.py
@@ -10,7 +10,7 @@ N_CODE_SERVERS = config('N_CODE_SERVERS', default=5, cast=int)
# The server pool port. This is the server which returns available server
# ports so as to minimize load. This is some random number where no other
# service is running. It should be > 1024 and less < 65535 though.
-SERVER_POOL_PORT = config('EMAIL_PORT', default=55555, cast=int)
+SERVER_POOL_PORT = config('SERVER_POOL_PORT', default=55555, cast=int)
SERVER_HOST_NAME = config('SERVER_HOST_NAME', default='http://localhost')
#'localhost'