diff options
author | prathamesh | 2014-07-15 11:54:08 +0530 |
---|---|---|
committer | prathamesh | 2014-07-15 11:54:08 +0530 |
commit | 1e2cff5c412539e037ddc2bd0a72624e9a8da665 (patch) | |
tree | b69654ab7e3c77abb8eb9ae0f4582754ef5c1705 /testapp/README.rst | |
parent | 3350bd51bac7e010fcd9532bfe82eb7d66d8529f (diff) | |
download | online_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/README.rst')
-rw-r--r-- | testapp/README.rst | 51 |
1 files changed, 51 insertions, 0 deletions
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 |