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