summaryrefslogtreecommitdiff
path: root/testapp/README.rst
diff options
context:
space:
mode:
authorPrabhu Ramachandran2015-03-31 18:21:00 +0530
committerPrabhu Ramachandran2015-03-31 18:21:00 +0530
commit28415b148617057674d85aee9a2d3aaac36bf0d2 (patch)
treebd6ba0157778d86a35cd3a07d585577b382e76e3 /testapp/README.rst
parent997a7907a13b394e5ca69fadf17f5bb4d5445536 (diff)
parent1fe37566ab72b2d7e53d36c36948e50086e7059a (diff)
downloadonline_test-28415b148617057674d85aee9a2d3aaac36bf0d2.tar.gz
online_test-28415b148617057674d85aee9a2d3aaac36bf0d2.tar.bz2
online_test-28415b148617057674d85aee9a2d3aaac36bf0d2.zip
Merge pull request #40 from prathamesh920/redirect_result_view
Redirect result view
Diffstat (limited to 'testapp/README.rst')
-rw-r--r--testapp/README.rst23
1 files changed, 15 insertions, 8 deletions
diff --git a/testapp/README.rst b/testapp/README.rst
index 6f49d4b..e6f8380 100644
--- a/testapp/README.rst
+++ b/testapp/README.rst
@@ -10,7 +10,10 @@ conduct online test and monitor the test.
Quick start
------------
-1. Add "testapp.exam", "taggit" and "taggit_autocomplete_modified" apps
+1. In your terminal 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 =(
@@ -19,10 +22,10 @@ Quick start
'taggit_autocomplete_modified',
)
-2. In project settings, add AUTH_PROFILE_MODULE = 'testapp.exam.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 "testapp.exam" and taggit_autocomplete_modified URL configuration
+4. Include the "testapp.exam" and taggit_autocomplete_modified URL configuration
in your project urls.py as follows::
url(r'^exam/', include('testapp.exam.urls')),
@@ -30,12 +33,16 @@ Quick start
('taggit_autocomplete_modified.urls'))
-4. Run 'python manage.py syncdb' to create models for the new installed apps.
+5. Run 'python manage.py syncdb' to create models for the new installed apps.
+
+6. Run 'python manage.py runserver' to start the development server
+ and visit http://localhost:8000/exam/
-5. Start the development server and visit http://localhost:8000/exam/
+7. Run code_server command as superuser as follows::
-6. In exam app run code_sever command as superuser as follows::
+ $ sudo code_server
- $ code_server
+ Note: If you are using virtual python environment, then activate the environment
+ using sudo. Then simply run the code_server command as follows::
- Note: You must have a sudo access to run the above command.
+ $ code_server