summaryrefslogtreecommitdiff
path: root/yaksh/scripts/yaksh_script.sh
diff options
context:
space:
mode:
authorankitjavalkar2017-11-14 15:46:50 +0530
committerankitjavalkar2017-11-14 15:46:50 +0530
commit41e04d656e0045b3132bd3ec7de206c515606875 (patch)
treef78c8a8693f83dc56647527cf8f825ce0233ca53 /yaksh/scripts/yaksh_script.sh
parent1aeb0997affaf8d6da3cdceee2d3ba8df59c4083 (diff)
downloadonline_test-41e04d656e0045b3132bd3ec7de206c515606875.tar.gz
online_test-41e04d656e0045b3132bd3ec7de206c515606875.tar.bz2
online_test-41e04d656e0045b3132bd3ec7de206c515606875.zip
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
Diffstat (limited to 'yaksh/scripts/yaksh_script.sh')
-rw-r--r--yaksh/scripts/yaksh_script.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/yaksh/scripts/yaksh_script.sh b/yaksh/scripts/yaksh_script.sh
index f39153e..1401d09 100644
--- a/yaksh/scripts/yaksh_script.sh
+++ b/yaksh/scripts/yaksh_script.sh
@@ -5,7 +5,8 @@ chown -R nobody output
chmod -R a+rwX output
chmod -R a+rX data yaksh
chmod -R o-w data yaksh
-echo "** Installing python dependencies **"
+echo "** [CONTAINER] Installing python dependencies **"
pip3 install -r ./requirements-codeserver.txt
-echo "** Running code server **"
+echo "** [CONTAINER] Running code server **"
+touch server_running.txt
/usr/bin/sudo -su nobody python3 -m yaksh.code_server