@@ -0,0 +1,2045 @@
+%22%22%22%0AThis config file runs the simplest dev environment using sqlite, and db-based%0Asessions. Assumes structure:%0A%0A/envroot/%0A        /db   # This is where it'll write the database file%0A        /mitx # The location of this repo%0A        /log  # Where we're going to write log files%0A%22%22%22%0Afrom common import *%0A%0ASTATIC_GRAB = True%0A%0ALOGGING = logsettings.get_logger_config(ENV_ROOT / %22log%22, %0A                                        logging_env=%22dev%22,%0A                                        tracking_filename=%22tracking.log%22,%0A                                        debug=False)%0A%0ADATABASES = %7B%0A    'default': %7B%0A        'ENGINE': 'django.db.backends.sqlite3',%0A        'NAME': ENV_ROOT / %22db%22 / %22mitx.db%22,%0A    %7D%0A%7D%0A%0ACACHES = %7B%0A    # This is the cache used for most things. Askbot will not work without a %0A    # functioning cache -- it relies on caching to load its settings in places.%0A    # In staging/prod envs, the sessions also live here.%0A    'default': %7B%0A        'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',%0A        'LOCATION': 'mitx_loc_mem_cache'%0A    %7D,%0A%0A    # The general cache is what you get if you use our util.cache. It's used for%0A    # things like caching the course.xml file for different A/B test groups.%0A    # We set it to be a DummyCache to force reloading of course.xml in dev.%0A    # In staging environments, we would grab VERSION from data uploaded by the%0A    # push process.%0A    'general': %7B%0A        'BACKEND': 'django.core.cache.backends.dummy.DummyCache',%0A        'KEY_PREFIX': 'general',%0A        'VERSION': 4,%0A    %7D%0A%7D%0A%0A# Dummy secret key for dev%0ASECRET_KEY = '85920908f28904ed733fe576320db18cabd7b6cd'%0A%0A############################ FILE UPLOADS (ASKBOT) #############################%0ADEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'%0AMEDIA_ROOT = ENV_ROOT / %22uploads%22%0AMEDIA_URL = %22/discussion/upfiles/%22%0AFILE_UPLOAD_TEMP_DIR = ENV_ROOT / %22uploads%22%0AFILE_UPLOAD_HANDLERS = (%0A    'django.core.files.uploadhandler.MemoryFileUploadHandler',%0A    'django.core.files.uploadhandler.TemporaryFileUploadHandler',%0A)%0A

Add a settings file for doing grabs for main_static