From 41e04d656e0045b3132bd3ec7de206c515606875 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Tue, 14 Nov 2017 15:46:50 +0530 Subject: Multiple minor fixes : - Fix README instruct to run docker container before running django server - Add messages after commands execute succesfully - Touch a new file to denote successful running of code server --- README.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index a0faab2..28f45d0 100644 --- a/README.md +++ b/README.md @@ -49,22 +49,15 @@ Quick Start - For Python 2 use: - $ pip install -r ./requirements/requirements-py2.txt + $ pip install -r ./requirements/requirements-py2.txt - For Python 3 (recommended) use: - $ pip install -r ./requirements/requirements-py3.txt + $ pip install -r ./requirements/requirements-py3.txt #### Short instructions -1. To run the application do the following: - - $ invoke serve - - - *Note:* The serve command will run the django application server on the 8000 port - and hence this port will be unavailable to other processes. - -1. On another terminal start up the code server that executes the user code safely: +1. Start up the code server that executes the user code safely: - To run the code server in a sandboxed docker environment, run the command: @@ -82,7 +75,12 @@ Quick Start and is susceptible to malicious code. You will have to install the code server requirements in sudo mode. +1. On another terminal, run the application using the following command: + + $ invoke serve + - *Note:* The serve command will run the django application server on the 8000 port + and hence this port will be unavailable to other processes. 1. Open your browser and open the URL ```http://localhost:8000/exam``` -- cgit