diff options
author | mahesh | 2017-11-10 03:20:58 +0530 |
---|---|---|
committer | mahesh | 2017-11-10 03:20:58 +0530 |
commit | a3b8e78fec5ab542675ca99949b2810e95536c21 (patch) | |
tree | a2df4edf6bbf91dac70a8940cb4ca1e405e25ccc /yaksh/scripts | |
parent | 0bb6a4984d1e97c50a4e8da9394798c4c9a1e589 (diff) | |
parent | cfcb2ed39c724639fe17338e29e327d08ae641b2 (diff) | |
download | online_test-a3b8e78fec5ab542675ca99949b2810e95536c21.tar.gz online_test-a3b8e78fec5ab542675ca99949b2810e95536c21.tar.bz2 online_test-a3b8e78fec5ab542675ca99949b2810e95536c21.zip |
Merge branch 'master' of https://github.com/fossee/online_test into beautify_assertions
Diffstat (limited to 'yaksh/scripts')
-rw-r--r-- | yaksh/scripts/yaksh_script.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/yaksh/scripts/yaksh_script.sh b/yaksh/scripts/yaksh_script.sh new file mode 100644 index 0000000..f39153e --- /dev/null +++ b/yaksh/scripts/yaksh_script.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# Basic script to install pip packages and run the yaksh code server command + +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 **" +pip3 install -r ./requirements-codeserver.txt +echo "** Running code server **" +/usr/bin/sudo -su nobody python3 -m yaksh.code_server |