diff options
author | prathamesh | 2015-02-19 12:36:02 +0530 |
---|---|---|
committer | prathamesh | 2015-02-19 12:36:02 +0530 |
commit | e7e82959bb819e60ef5ab21f1950404d20e661a8 (patch) | |
tree | 1fd64709e32dcb1a21332ebb3045c8723ea8c4be /testapp/README.rst | |
parent | 962cee1705509bb595cda51d104ef1ef7cf0b4fd (diff) | |
parent | 663e9945eddeda6bfe37b5d64c1a08a85d222f3e (diff) | |
download | online_test-e7e82959bb819e60ef5ab21f1950404d20e661a8.tar.gz online_test-e7e82959bb819e60ef5ab21f1950404d20e661a8.tar.bz2 online_test-e7e82959bb819e60ef5ab21f1950404d20e661a8.zip |
Merge branch 'app_package' into redirect_result_view
Diffstat (limited to 'testapp/README.rst')
-rw-r--r-- | testapp/README.rst | 37 |
1 files changed, 15 insertions, 22 deletions
diff --git a/testapp/README.rst b/testapp/README.rst index 66535ff..f4790a3 100644 --- a/testapp/README.rst +++ b/testapp/README.rst @@ -10,42 +10,35 @@ 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: +1. In yourterminal run the following command:: + $ easy_install git+https://github.com/FOSSEE/online_test.git#egg=django_exam-0.1 + +2. 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. +3. 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 - in your project urls.py as follows: +4. 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')) -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. +5. Run 'python manage.py syncdb' to create models for the new installed apps. 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. |