diff options
Diffstat (limited to 'yaksh/scripts/yaksh_script.sh')
-rw-r--r-- | yaksh/scripts/yaksh_script.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/yaksh/scripts/yaksh_script.sh b/yaksh/scripts/yaksh_script.sh new file mode 100644 index 0000000..83c086c --- /dev/null +++ b/yaksh/scripts/yaksh_script.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# Basic script to install pip packages and run the yaksh code server command + +mkdir /sites/ +echo "** Copying online test directory **" +cp -r /src/online_test /sites/online_test +cd /sites/online_test +echo "** Unmounting online test volume **" +umount /src/online_test +echo "** Installing python dependencies **" +pip3 install -r /sites/online_test/requirements/requirements-codeserver.txt +echo "** Running code server **" +python3 -m yaksh.code_server |