summaryrefslogtreecommitdiff
path: root/testapp
diff options
context:
space:
mode:
authorprathamesh2014-07-15 11:54:08 +0530
committerprathamesh2014-07-15 11:54:08 +0530
commit1e2cff5c412539e037ddc2bd0a72624e9a8da665 (patch)
treeb69654ab7e3c77abb8eb9ae0f4582754ef5c1705 /testapp
parent3350bd51bac7e010fcd9532bfe82eb7d66d8529f (diff)
downloadonline_test-1e2cff5c412539e037ddc2bd0a72624e9a8da665.tar.gz
online_test-1e2cff5c412539e037ddc2bd0a72624e9a8da665.tar.bz2
online_test-1e2cff5c412539e037ddc2bd0a72624e9a8da665.zip
django exam app package.
run 'python setup.py sdist' to create the distribution package.
Diffstat (limited to 'testapp')
-rw-r--r--testapp/LICENSE3
-rw-r--r--testapp/MANIFEST.in7
-rw-r--r--testapp/README.rst51
-rw-r--r--testapp/dist/django-exam-0.1.tar.gzbin0 -> 79583 bytes
-rw-r--r--testapp/setup.py39
5 files changed, 100 insertions, 0 deletions
diff --git a/testapp/LICENSE b/testapp/LICENSE
new file mode 100644
index 0000000..8b49593
--- /dev/null
+++ b/testapp/LICENSE
@@ -0,0 +1,3 @@
+This is distributed under the terms of the BSD license.
+
+Copyright (c) 2011 Prabhu Ramachandran and FOSSEE (fossee.in)
diff --git a/testapp/MANIFEST.in b/testapp/MANIFEST.in
new file mode 100644
index 0000000..2c50f50
--- /dev/null
+++ b/testapp/MANIFEST.in
@@ -0,0 +1,7 @@
+include LICENSE
+include README.rst
+recursive-include exam/static *
+recursive-include exam/templates *
+recursive-include exam/management *
+recursive-include exam/output *
+recursive-include exam/fixtures *
diff --git a/testapp/README.rst b/testapp/README.rst
new file mode 100644
index 0000000..66535ff
--- /dev/null
+++ b/testapp/README.rst
@@ -0,0 +1,51 @@
+===============
+Online Exam
+===============
+
+Online test application lets user(student) take an online programming test.
+A special user called moderator can add questions, create question paper,
+conduct online test and monitor the test.
+
+
+Quick start
+------------
+
+1. Add "exam", "taggit" and "taggit_autocomplete_modified" apps
+ to your INSTALLED_APPS setting as follows:
+
+ INSTALLED_APPS =(
+ 'exam',
+ 'taggit',
+ 'taggit_autocomplete_modified',
+ )
+
+2. In project settings, add AUTH_PROFILE_MODULE = 'exam.Profile'
+ You can change the exam.Profile to your desired app user profile.
+
+3. Include the "exam" and taggit_autocomplete_modified URL configuration
+ in your project urls.py as follows:
+
+ url(r'^exam/', include('exam.urls')),
+ url(r'^taggit_autocomplete_modified/', include\
+ ('taggit_autocomplete_modified.urls'))
+
+4. Since taggit_autocomplete_modified version for django=>1.5 is not available
+ you have to do one change manually. In taggit_autocomplete_modified app url,
+ remove "default" from the import statement as follows:
+
+ Change: from django.conf.urls.defaults import *
+ to : from django.conf.urls import *
+
+ Note: location of the above file will probably be as
+ ../lib/python2.7/site-packages/taggit_autocomplete_modified/urls.py
+
+5. Run 'python manage.py syncdb' to create "exam" models.
+
+6. Start the development server and visit http://localhost:8000/exam/
+
+7. In exam app run code sever as superuser as follows:
+
+ sudo python code_server.py
+
+ Note: location of the above file will probably be as
+ ../lib/python2.7/site-packages/exam/code_server.py
diff --git a/testapp/dist/django-exam-0.1.tar.gz b/testapp/dist/django-exam-0.1.tar.gz
new file mode 100644
index 0000000..114a61e
--- /dev/null
+++ b/testapp/dist/django-exam-0.1.tar.gz
Binary files differ
diff --git a/testapp/setup.py b/testapp/setup.py
new file mode 100644
index 0000000..101f8f4
--- /dev/null
+++ b/testapp/setup.py
@@ -0,0 +1,39 @@
+import os
+from setuptools import setup
+
+README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
+
+# allow setup.py to be run from any path
+os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
+
+setup(
+ name='django-exam',
+ author='Prabhu Ramachandran',
+ author_email='prabhu.ramachandran@gmail.com',
+ version='0.1',
+ packages=['exam'],
+ include_package_data=True,
+ license='BSD License',
+ description='A django app to conduct online test.',
+ long_description=README,
+ install_requires=[
+ 'django',
+ 'django-taggit',
+ 'django-taggit-autocomplete-modified',
+ ],
+ classifiers=[
+ 'Development Status :: 4 - Beta',
+ 'Environment :: Web Environment',
+ 'Framework :: Django',
+ 'Intended Audience :: Developers',
+ 'Intended Audience :: Education',
+ 'Intended Audience :: End Users/Desktop',
+ 'License :: OSI Approved :: BSD License',
+ 'Natural Language :: English',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python',
+ 'Programming Language :: Python :: 2.6',
+ 'Programming Language :: Python :: 2.7',
+ 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
+ ],
+)