summaryrefslogtreecommitdiff
path: root/yaksh/scripts/yaksh_script.sh
blob: f39153e154626dc3f8ca0cf4020193e054647010 (plain)
1
2
3
4
5
6
7
8
9
10
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