summaryrefslogtreecommitdiff
path: root/yaksh/scripts/yaksh_script.sh
blob: f19ad3d609981d59277b0358dc16aebd086603a2 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
# Basic script to install pip packages and run the yaksh code server command

chown -R nobody 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