diff options
author | Prabhu Ramachandran | 2017-11-09 17:26:46 +0530 |
---|---|---|
committer | GitHub | 2017-11-09 17:26:46 +0530 |
commit | cfcb2ed39c724639fe17338e29e327d08ae641b2 (patch) | |
tree | 17bca625745b11d6152d9db1e9ebb49646d27d04 /yaksh/scripts | |
parent | e65b605e59c1384ad9607c99484107929248f220 (diff) | |
parent | 91de91014b24412f9ec5fe246235c38a00a778ec (diff) | |
download | online_test-cfcb2ed39c724639fe17338e29e327d08ae641b2.tar.gz online_test-cfcb2ed39c724639fe17338e29e327d08ae641b2.tar.bz2 online_test-cfcb2ed39c724639fe17338e29e327d08ae641b2.zip |
Merge pull request #379 from ankitjavalkar/better-installer-single-mount
Installation and Quickstart script using PyInvoke
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 |