Skip to content
This repository was archived by the owner on Oct 2, 2020. It is now read-only.

Commit 208aae9

Browse files
committed
Reorganizing the website directories
1 parent a3284bd commit 208aae9

File tree

94 files changed

+515
-515
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+515
-515
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

website/settings/common.py renamed to oltpbench/settings/common.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
# Don't put anything in this directory yourself; store your static files
100100
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
101101
# Example: "/var/www/example.com/static/"
102-
STATIC_ROOT = join(PROJECT_ROOT, 'website', 'data', 'static')
102+
STATIC_ROOT = join(PROJECT_ROOT, 'oltpbench', 'data', 'static')
103103

104104
# URL prefix for static files.
105105
# Example: "http://example.com/static/", "http://static.example.com/"
@@ -129,7 +129,7 @@
129129
'BACKEND': 'django.template.backends.django.DjangoTemplates',
130130
'DIRS': [
131131
# TEMPLATE_DIRS (use absolute paths)
132-
join(PROJECT_ROOT, 'website', 'template')
132+
join(PROJECT_ROOT, 'oltpbench', 'template')
133133
],
134134
'OPTIONS': {
135135
'context_processors': [
@@ -186,7 +186,7 @@
186186
# 'south',
187187
'djcelery',
188188
# 'django_celery_beat',
189-
'website',
189+
'oltpbench',
190190
)
191191

192192
## ==============================================
@@ -215,7 +215,7 @@
215215
## LOGGING CONFIGURATION
216216
## ==============================================
217217

218-
# A website logging configuration. The only tangible logging
218+
# A oltpbench logging configuration. The only tangible logging
219219
# performed by this configuration is to send an email to
220220
# the site admins on every HTTP 500 error when DEBUG=False.
221221
# See http://docs.djangoproject.com/en/dev/topics/logging for
@@ -260,7 +260,7 @@
260260
'level': 'DEBUG',
261261
'propagate': False,
262262
},
263-
'website.views': {
263+
'oltpbench.views': {
264264
'handlers': ['console', 'logfile'],
265265
'propagate': False,
266266
'level': 'DEBUG',
@@ -291,14 +291,14 @@
291291
## URL CONFIGURATION
292292
## ==============================================
293293

294-
ROOT_URLCONF = 'website.urls'
294+
ROOT_URLCONF = 'oltpbench.urls'
295295

296296
## ==============================================
297297
## WSGI CONFIGURATION
298298
## ==============================================
299299

300300
# Python dotted path to the WSGI application used by Django's runserver.
301-
WSGI_APPLICATION = 'website.wsgi.application'
301+
WSGI_APPLICATION = 'oltpbench.wsgi.application'
302302

303303
## ==============================================
304304
## PASSWORD VALIDATORS

website/settings/credentials_TEMPLATE.py renamed to oltpbench/settings/credentials_TEMPLATE.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@
5757
## OTTERTUNE PATH CONFIGURATION
5858
## ==============================================
5959

60-
LOG_FILE = '/path/to/website/log'
60+
LOG_FILE = '/path/to/oltpbench/log'
6161

6262
OTTERTUNE_LIBS = '/path/to/ottertune/MLlibs'
File renamed without changes.

0 commit comments

Comments
 (0)