summaryrefslogtreecommitdiff
path: root/yaksh/documentation/installation.rst
diff options
context:
space:
mode:
authorprathamesh2017-01-13 16:49:16 +0530
committerprathamesh2017-01-13 16:49:16 +0530
commitc70c38dd55e159a5e7aa6706bb23bb8e70ca10bd (patch)
treef85d78faa6d51046b79e26ee59efa15e3c16bd75 /yaksh/documentation/installation.rst
parent5ee9b4647c7f1ba9803a95ad3871f6acfc92c1c0 (diff)
parent0e3e0cdbf322df9b5c8b7da0301cebe71eadcbe9 (diff)
downloadonline_test-c70c38dd55e159a5e7aa6706bb23bb8e70ca10bd.tar.gz
online_test-c70c38dd55e159a5e7aa6706bb23bb8e70ca10bd.tar.bz2
online_test-c70c38dd55e159a5e7aa6706bb23bb8e70ca10bd.zip
Merge branch 'master' of https://github.com/FOSSEE/online_test into UI-modifications-phase-2
Diffstat (limited to 'yaksh/documentation/installation.rst')
-rw-r--r--yaksh/documentation/installation.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/yaksh/documentation/installation.rst b/yaksh/documentation/installation.rst
index 51efea7..57dc2fd 100644
--- a/yaksh/documentation/installation.rst
+++ b/yaksh/documentation/installation.rst
@@ -73,7 +73,9 @@ Running The Code Server
In a new terminal run the command::
- sudo python /path/to/code_server.py
+ cd /path/to/online_test
+
+ sudo python -m yaksh.code_server
Keep this instance running in the background
@@ -93,7 +95,7 @@ Keep this instance running in the background
3. Start a Docker container::
- docker run -d -p 8001:8001 -p 53579:53579 -v /path/to/online_test/yaksh/output:/src/yaksh/output yaksh_code_server:v1
+ docker run -d -p 8001:8001 -p 53579:53579 -v /path/to/online_test/yaksh/data:/src/yaksh/data yaksh_code_server:v1
**Note**:
* The default ports on which the code server runs and the pool port on which the former ports are available is specified in online_test/yaksh/settings.py. The code server also supports multiple ports