From 663e9945eddeda6bfe37b5d64c1a08a85d222f3e Mon Sep 17 00:00:00 2001 From: prathamesh Date: Thu, 19 Feb 2015 12:05:47 +0530 Subject: README modified. Added command to install the app. The app is installed from the github repository. --- testapp/README.rst | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'testapp/README.rst') diff --git a/testapp/README.rst b/testapp/README.rst index 6f49d4b..f4790a3 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 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 =( @@ -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,11 +33,11 @@ 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. -5. Start the development server and visit http://localhost:8000/exam/ +6. Start the development server and visit http://localhost:8000/exam/ -6. In exam app run code_sever command as superuser as follows:: +7. In exam app run code_sever command as superuser as follows:: $ code_server -- cgit From 89f4db581db2b8260fad4dec3e77ac9b8a93d4a9 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Wed, 25 Mar 2015 12:31:24 +0530 Subject: Made changes to the Readme as per the comments --- testapp/README.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'testapp/README.rst') diff --git a/testapp/README.rst b/testapp/README.rst index f4790a3..72b666c 100644 --- a/testapp/README.rst +++ b/testapp/README.rst @@ -10,7 +10,7 @@ conduct online test and monitor the test. Quick start ------------ -1. In yourterminal run the following command:: +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 @@ -35,9 +35,10 @@ Quick start 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/ +6. Run 'python manage.py runserver' to start the development server + and visit http://localhost:8000/exam/ -7. In exam app run code_sever command as superuser as follows:: +7. Run code_server command as superuser as follows:: $ code_server -- cgit From 1fe37566ab72b2d7e53d36c36948e50086e7059a Mon Sep 17 00:00:00 2001 From: prathamesh Date: Fri, 27 Mar 2015 12:13:19 +0530 Subject: Added note about virtual python environment in the README --- testapp/README.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'testapp/README.rst') diff --git a/testapp/README.rst b/testapp/README.rst index 72b666c..e6f8380 100644 --- a/testapp/README.rst +++ b/testapp/README.rst @@ -40,6 +40,9 @@ Quick start 7. Run code_server command as superuser as follows:: - $ code_server + $ sudo code_server - Note: You must have a sudo access to run the above command. + Note: If you are using virtual python environment, then activate the environment + using sudo. Then simply run the code_server command as follows:: + + $ code_server -- cgit