To run locally, create a settings_local.py
file in the behave
directory with the following settings filled out appropriately:
# Django setting - whether or not to show error messages and stuff
DEBUG = True
# Django setting - for session cookie encryption
SECRET_KEY = 'This is a secret'
# Django setting - where to store stuff
# https://docs.djangoproject.com/en/3.1/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'mydatabase',
}
}
# Reddit settings
# https://www.reddit.com/prefs/apps/
CLIENT_ID = ""
CLIENT_SECRET = ""
REDIRECT_URI = "http://localhost:8000/oauth"