aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorPjotr Prins2017-06-02 10:21:05 +0000
committerPjotr Prins2017-06-02 10:21:05 +0000
commite467c3f19824415d9e9a3fdd4073d44439c83cbf (patch)
treea811fb057432fb8f618361ecf08656979dfb4390 /etc
parent4df8db0d30ea19f5cfc7ec7d4222a3590b217e5c (diff)
downloadgenenetwork2-e467c3f19824415d9e9a3fdd4073d44439c83cbf.tar.gz
settings: GENENETWORK_FILES
Diffstat (limited to 'etc')
-rw-r--r--etc/default_settings.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/default_settings.py b/etc/default_settings.py
index 1c5b10b4..1b609414 100644
--- a/etc/default_settings.py
+++ b/etc/default_settings.py
@@ -53,11 +53,13 @@ USE_REDIS = True # REDIS caching (note that redis will be phased out)
USE_GN_SERVER = 'False' # Use GN_SERVER SQL calls
HOME = os.environ['HOME']
+# ---- Default locations
+GENENETWORK_FILES = HOME+"/gn2_data" # base dir for all static data files
+
# ---- Path overrides for Genenetwork - the defaults are normally
# picked up from Guix or in the HOME directory
# TMPDIR is normally picked up from the environment
-# GENENETWORK_FILES = HOME+"/gn2_data" # base dir for all static data files
# PRIVATE_FILES = HOME+"/gn2_private_data" # private static data files (unused)
# ---- Local path to JS libraries - for development modules (only)