diff options
author | maheshgudi | 2016-07-13 14:19:34 +0530 |
---|---|---|
committer | maheshgudi | 2016-07-13 14:19:34 +0530 |
commit | 52e7adfaa142353840bb6d8aab570e9f8893160a (patch) | |
tree | f7a1cf705daafe03664ddfefb7aac79814ed1334 /yaksh/documentation/installation.rst | |
parent | 73552024136f906f2af0c5f2737216f2db1310e9 (diff) | |
download | online_test-52e7adfaa142353840bb6d8aab570e9f8893160a.tar.gz online_test-52e7adfaa142353840bb6d8aab570e9f8893160a.tar.bz2 online_test-52e7adfaa142353840bb6d8aab570e9f8893160a.zip |
first draft of the Yaksh read the docs 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 |