summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoderick142017-05-16 17:37:05 +0530
committercoderick142017-05-16 17:37:05 +0530
commit43c64ce407620cd23c1b07cb13dd8d751f7a8ff3 (patch)
tree3f5268bcf0ad562ad16c4714ebbf675c60eef674
parentabf599be33b383a6a5baf9493093b2126a622ac8 (diff)
downloadSBHS-2018-Rpi-43c64ce407620cd23c1b07cb13dd8d751f7a8ff3.tar.gz
SBHS-2018-Rpi-43c64ce407620cd23c1b07cb13dd8d751f7a8ff3.tar.bz2
SBHS-2018-Rpi-43c64ce407620cd23c1b07cb13dd8d751f7a8ff3.zip
Set up django-server locally
-rw-r--r--.gitignore3
-rw-r--r--sbhs_server/__init__.pycbin138 -> 0 bytes
-rw-r--r--sbhs_server/account/__init__.pycbin146 -> 0 bytes
-rw-r--r--sbhs_server/account/models.pycbin200 -> 0 bytes
-rw-r--r--sbhs_server/admin/__init__.pycbin144 -> 0 bytes
-rw-r--r--sbhs_server/admin/models.pycbin198 -> 0 bytes
-rw-r--r--sbhs_server/experiment/__init__.pycbin149 -> 0 bytes
-rw-r--r--sbhs_server/experiment/models.pycbin203 -> 0 bytes
-rw-r--r--sbhs_server/helpers/__init__.pycbin146 -> 0 bytes
-rw-r--r--sbhs_server/helpers/mailer.pycbin962 -> 0 bytes
-rw-r--r--sbhs_server/helpers/simple_encrypt.pycbin1113 -> 0 bytes
-rw-r--r--sbhs_server/pages/__init__.pycbin144 -> 0 bytes
-rw-r--r--sbhs_server/pages/management/__init__.pycbin155 -> 0 bytes
-rw-r--r--sbhs_server/pages/models.pycbin198 -> 0 bytes
-rw-r--r--sbhs_server/password/__init__.pycbin147 -> 0 bytes
-rw-r--r--sbhs_server/password/models.pycbin201 -> 0 bytes
-rw-r--r--sbhs_server/sbhs.pycbin7271 -> 0 bytes
-rw-r--r--sbhs_server/sbhs_admin_config.pycbin583 -> 0 bytes
m---------sbhs_server/server_private_files0
-rw-r--r--sbhs_server/settings.py6
-rw-r--r--sbhs_server/settings.pycbin6116 -> 0 bytes
-rw-r--r--sbhs_server/slot/__init__.pycbin143 -> 0 bytes
-rw-r--r--sbhs_server/slot/models.pycbin197 -> 0 bytes
-rw-r--r--sbhs_server/tables/__init__.pycbin145 -> 0 bytes
-rw-r--r--sbhs_server/tables/management/__init__.pycbin156 -> 0 bytes
-rw-r--r--sbhs_server/tables/management/commands/__init__.pycbin165 -> 0 bytes
-rw-r--r--sbhs_server/tables/management/commands/generate_checksum.pycbin1437 -> 0 bytes
-rw-r--r--sbhs_server/tables/management/commands/initialize_machines.pycbin2354 -> 0 bytes
-rw-r--r--sbhs_server/tables/models.pycbin10308 -> 0 bytes
-rw-r--r--sbhs_server/urls.py2
-rw-r--r--sbhs_server/webcam/__init__.pycbin145 -> 0 bytes
-rw-r--r--sbhs_server/webcam/management/__init__.pycbin156 -> 0 bytes
-rw-r--r--sbhs_server/webcam/models.pycbin199 -> 0 bytes
-rw-r--r--templates/pages/theory.html2
34 files changed, 8 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3efacfb
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*.pyc
+sbhs_server/*/*.pyc
+sbhs_server/credentials.py
diff --git a/sbhs_server/__init__.pyc b/sbhs_server/__init__.pyc
deleted file mode 100644
index 0241825..0000000
--- a/sbhs_server/__init__.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/account/__init__.pyc b/sbhs_server/account/__init__.pyc
deleted file mode 100644
index 229f2e0..0000000
--- a/sbhs_server/account/__init__.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/account/models.pyc b/sbhs_server/account/models.pyc
deleted file mode 100644
index 782790e..0000000
--- a/sbhs_server/account/models.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/admin/__init__.pyc b/sbhs_server/admin/__init__.pyc
deleted file mode 100644
index 95dd17b..0000000
--- a/sbhs_server/admin/__init__.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/admin/models.pyc b/sbhs_server/admin/models.pyc
deleted file mode 100644
index 2d2a7de..0000000
--- a/sbhs_server/admin/models.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/experiment/__init__.pyc b/sbhs_server/experiment/__init__.pyc
deleted file mode 100644
index 32fcf1c..0000000
--- a/sbhs_server/experiment/__init__.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/experiment/models.pyc b/sbhs_server/experiment/models.pyc
deleted file mode 100644
index 9af4264..0000000
--- a/sbhs_server/experiment/models.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/helpers/__init__.pyc b/sbhs_server/helpers/__init__.pyc
deleted file mode 100644
index e4b1769..0000000
--- a/sbhs_server/helpers/__init__.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/helpers/mailer.pyc b/sbhs_server/helpers/mailer.pyc
deleted file mode 100644
index 5105102..0000000
--- a/sbhs_server/helpers/mailer.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/helpers/simple_encrypt.pyc b/sbhs_server/helpers/simple_encrypt.pyc
deleted file mode 100644
index ffb331f..0000000
--- a/sbhs_server/helpers/simple_encrypt.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/pages/__init__.pyc b/sbhs_server/pages/__init__.pyc
deleted file mode 100644
index f37f24c..0000000
--- a/sbhs_server/pages/__init__.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/pages/management/__init__.pyc b/sbhs_server/pages/management/__init__.pyc
deleted file mode 100644
index d400ccc..0000000
--- a/sbhs_server/pages/management/__init__.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/pages/models.pyc b/sbhs_server/pages/models.pyc
deleted file mode 100644
index 470724c..0000000
--- a/sbhs_server/pages/models.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/password/__init__.pyc b/sbhs_server/password/__init__.pyc
deleted file mode 100644
index 31ad3f1..0000000
--- a/sbhs_server/password/__init__.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/password/models.pyc b/sbhs_server/password/models.pyc
deleted file mode 100644
index d0a712d..0000000
--- a/sbhs_server/password/models.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/sbhs.pyc b/sbhs_server/sbhs.pyc
deleted file mode 100644
index 3a1dc42..0000000
--- a/sbhs_server/sbhs.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/sbhs_admin_config.pyc b/sbhs_server/sbhs_admin_config.pyc
deleted file mode 100644
index 2ab15bc..0000000
--- a/sbhs_server/sbhs_admin_config.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/server_private_files b/sbhs_server/server_private_files
deleted file mode 160000
-Subproject 015354ba06771085a493cfffaa93576f8e1d5ac
diff --git a/sbhs_server/settings.py b/sbhs_server/settings.py
index 30a0f81..4d9575f 100644
--- a/sbhs_server/settings.py
+++ b/sbhs_server/settings.py
@@ -21,10 +21,10 @@ BASE_DIR = os.path.dirname(os.path.dirname(__file__))
# See https://docs.djangoproject.com/en/1.6/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
-SECRET_KEY = ''
+SECRET_KEY = 'k8^&^wr-skvt1bw$7^9mp$ic^5iubco@=bz*@hljl+vz9-&&_p$$$deep'
# SECURITY WARNING: don't run with debug turned on in production!
-DEBUG = is_production
+DEBUG = not is_production
TEMPLATE_DEBUG = not is_production
@@ -42,7 +42,7 @@ if not DEBUG:
# Application definition
INSTALLED_APPS = (
- 'django.contrib.admin',
+ #'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
diff --git a/sbhs_server/settings.pyc b/sbhs_server/settings.pyc
deleted file mode 100644
index 92c8db9..0000000
--- a/sbhs_server/settings.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/slot/__init__.pyc b/sbhs_server/slot/__init__.pyc
deleted file mode 100644
index 0f4e397..0000000
--- a/sbhs_server/slot/__init__.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/slot/models.pyc b/sbhs_server/slot/models.pyc
deleted file mode 100644
index 2f7dc8d..0000000
--- a/sbhs_server/slot/models.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/tables/__init__.pyc b/sbhs_server/tables/__init__.pyc
deleted file mode 100644
index 3b42411..0000000
--- a/sbhs_server/tables/__init__.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/tables/management/__init__.pyc b/sbhs_server/tables/management/__init__.pyc
deleted file mode 100644
index 409acc5..0000000
--- a/sbhs_server/tables/management/__init__.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/tables/management/commands/__init__.pyc b/sbhs_server/tables/management/commands/__init__.pyc
deleted file mode 100644
index 2bcdd35..0000000
--- a/sbhs_server/tables/management/commands/__init__.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/tables/management/commands/generate_checksum.pyc b/sbhs_server/tables/management/commands/generate_checksum.pyc
deleted file mode 100644
index 36d45a7..0000000
--- a/sbhs_server/tables/management/commands/generate_checksum.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/tables/management/commands/initialize_machines.pyc b/sbhs_server/tables/management/commands/initialize_machines.pyc
deleted file mode 100644
index cbbb123..0000000
--- a/sbhs_server/tables/management/commands/initialize_machines.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/tables/models.pyc b/sbhs_server/tables/models.pyc
deleted file mode 100644
index 7370f9a..0000000
--- a/sbhs_server/tables/models.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/urls.py b/sbhs_server/urls.py
index 32a0efc..3c7ce0b 100644
--- a/sbhs_server/urls.py
+++ b/sbhs_server/urls.py
@@ -9,7 +9,7 @@ urlpatterns = patterns('',
# url(r'^blog/', include('blog.urls')),
#url(r'^admin/', include(admin.site.urls)),
- url(r'^/?$', 'sbhs_server.pages.views.index'),
+ url(r'^$', 'sbhs_server.pages.views.index'),
url(r'^exam/', include('yaksh.urls')),
url(r'^about/?$', 'sbhs_server.pages.views.about'),
url(r'^contact/?$', 'sbhs_server.pages.views.contact'),
diff --git a/sbhs_server/webcam/__init__.pyc b/sbhs_server/webcam/__init__.pyc
deleted file mode 100644
index b3d3fc2..0000000
--- a/sbhs_server/webcam/__init__.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/webcam/management/__init__.pyc b/sbhs_server/webcam/management/__init__.pyc
deleted file mode 100644
index be6dca2..0000000
--- a/sbhs_server/webcam/management/__init__.pyc
+++ /dev/null
Binary files differ
diff --git a/sbhs_server/webcam/models.pyc b/sbhs_server/webcam/models.pyc
deleted file mode 100644
index 9026348..0000000
--- a/sbhs_server/webcam/models.pyc
+++ /dev/null
Binary files differ
diff --git a/templates/pages/theory.html b/templates/pages/theory.html
index 82cb49c..06b183d 100644
--- a/templates/pages/theory.html
+++ b/templates/pages/theory.html
@@ -9,7 +9,7 @@
{% include 'account/sub_nav.html' %}
{% endif %}
<div class="span12">
- <h2>Theroy</h2>
+ <h2>Theory</h2>
<br>
<br>
<iframe src="{% static 'data/theory.pdf' %}" width="100%" height="900px" ></iframe>