Implement start.sh
This commit is contained in:
parent
ebbc22dc49
commit
2f5f2cffd8
12
start.sh
Normal file → Executable file
12
start.sh
Normal file → Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$1" == "prepare" ]
|
||||
then
|
||||
echo "Preparing your system for the first run"
|
||||
apt update -y && apt upgrade -y
|
||||
apt install python3.7 python3-pip -y
|
||||
pip3 install setuptools wheel regex
|
||||
pip3 install -r requirements.txt
|
||||
else
|
||||
python3 main.py "$@"
|
||||
fi
|
Loading…
Reference in New Issue
Block a user