diff options
author | King | 2016-07-15 17:34:41 +0530 |
---|---|---|
committer | GitHub | 2016-07-15 17:34:41 +0530 |
commit | cc979dfe4893ba1d7bd66649716c490c15118879 (patch) | |
tree | ffa5cb9f2d07019f5eefa75ebf78c38aaf8143e6 /yaksh/documentation/installation.rst | |
parent | 73552024136f906f2af0c5f2737216f2db1310e9 (diff) | |
parent | 856fd12fc932ecb2825ab990ff5bf7af773c09c8 (diff) | |
download | online_test-cc979dfe4893ba1d7bd66649716c490c15118879.tar.gz online_test-cc979dfe4893ba1d7bd66649716c490c15118879.tar.bz2 online_test-cc979dfe4893ba1d7bd66649716c490c15118879.zip |
Merge pull request #116 from maheshgudi/documentation
Documentation
Diffstat (limited to 'yaksh/documentation/installation.rst')
-rw-r--r-- | yaksh/documentation/installation.rst | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/yaksh/documentation/installation.rst b/yaksh/documentation/installation.rst new file mode 100644 index 0000000..4acee61 --- /dev/null +++ b/yaksh/documentation/installation.rst @@ -0,0 +1,67 @@ +============ +Installation +============ + +Installing Yaksh +---------------- + + +**Pre-Requisite** + +* Ensure `pip <https://pip.pypa.io/en/latest/installing.html>`_ is installed + +**For installing Yaksh** + + * For latest stable release:: + + $ pip install yaksh + + * For the development version:: + + $ pip install git+https://github.com/FOSSEE/online_test.git + +Quick Start +----------- + +**In the terminal run**:: + + yaksh create_demo [-p PATH] [project_name] + +* **project_name** + The desired name of the django project. In case a project_name is not specified, the project is initialised with the name yaksh_demo +* **PATH** + An optional flag to specify where the django project will be installed. If PATH is not provided, the project is created in the current directory + +**Now execute**:: + + $ yaksh run_demo + +This starts the web server at localhost + +**In a new terminal, execute**:: + + $ sudo yaksh run_code_server + +This starts the code server + +**Open your browser and go to URL** :: + + http://localhost:8000/exam + +**Login as a teacher to edit the quiz or as a student to take the quiz Credentials:** + + For Student: + * Username: student + * Password: student + + For Teacher: + * Username: teacher + * Password: teacher + +**User can also login to the Default Django admin by going to URL**:: + + http://localhost:8000/admin + +**And entering the following admin credentials** + * Username: admin + * Password: admin
\ No newline at end of file |