From 1e2cff5c412539e037ddc2bd0a72624e9a8da665 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Tue, 15 Jul 2014 11:54:08 +0530 Subject: django exam app package. run 'python setup.py sdist' to create the distribution package. --- testapp/README.rst | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 testapp/README.rst (limited to 'testapp/README.rst') 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 -- cgit From 740b0acfe6436cf2919b6da655f379ca6c7faaf4 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Wed, 6 Aug 2014 13:43:54 +0530 Subject: Readme modified --- testapp/README.rst | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'testapp/README.rst') diff --git a/testapp/README.rst b/testapp/README.rst index 66535ff..aa0ee81 100644 --- a/testapp/README.rst +++ b/testapp/README.rst @@ -10,22 +10,22 @@ conduct online test and monitor the test. Quick start ------------ -1. Add "exam", "taggit" and "taggit_autocomplete_modified" apps +1. Add "testapp.exam", "taggit" and "taggit_autocomplete_modified" apps to your INSTALLED_APPS setting as follows: INSTALLED_APPS =( - 'exam', + 'testapp.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. +2. In project settings, add AUTH_PROFILE_MODULE = 'testapp.exam.Profile' + You can change the testapp.exam.Profile to your desired app user profile. -3. Include the "exam" and taggit_autocomplete_modified URL configuration +3. Include the "testapp.exam" and taggit_autocomplete_modified URL configuration in your project urls.py as follows: - url(r'^exam/', include('exam.urls')), + url(r'^exam/', include('testapp.exam.urls')), url(r'^taggit_autocomplete_modified/', include\ ('taggit_autocomplete_modified.urls')) @@ -43,9 +43,8 @@ Quick start 6. Start the development server and visit http://localhost:8000/exam/ -7. In exam app run code sever as superuser as follows: +7. In exam app run code_sever command as superuser as follows: - sudo python code_server.py + $ code_server - Note: location of the above file will probably be as - ../lib/python2.7/site-packages/exam/code_server.py + Note: You must have a sudo access to run the above command. -- cgit From 7fb736c5751023b1a0c4237b0dcedf457c1d42c7 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Mon, 11 Aug 2014 01:25:35 +0530 Subject: setup.py and readme files updated --- testapp/README.rst | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'testapp/README.rst') diff --git a/testapp/README.rst b/testapp/README.rst index aa0ee81..6f49d4b 100644 --- a/testapp/README.rst +++ b/testapp/README.rst @@ -11,7 +11,7 @@ Quick start ------------ 1. Add "testapp.exam", "taggit" and "taggit_autocomplete_modified" apps - to your INSTALLED_APPS setting as follows: + to your INSTALLED_APPS setting as follows:: INSTALLED_APPS =( 'testapp.exam', @@ -23,28 +23,19 @@ Quick start You can change the testapp.exam.Profile to your desired app user profile. 3. Include the "testapp.exam" and taggit_autocomplete_modified URL configuration - in your project urls.py as follows: + in your project urls.py as follows:: url(r'^exam/', include('testapp.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 * +4. Run 'python manage.py syncdb' to create models for the new installed apps. - Note: location of the above file will probably be as - ../lib/python2.7/site-packages/taggit_autocomplete_modified/urls.py +5. Start the development server and visit http://localhost:8000/exam/ -5. Run 'python manage.py syncdb' to create "exam" models. +6. In exam app run code_sever command as superuser as follows:: -6. Start the development server and visit http://localhost:8000/exam/ - -7. In exam app run code_sever command as superuser as follows: - - $ code_server + $ code_server Note: You must have a sudo access to run the above command. -- cgit