Implement start.sh

This commit is contained in:
Marcel Schwarz 2020-03-05 21:27:48 +01:00
parent ebbc22dc49
commit 2f5f2cffd8

12
start.sh Normal file → Executable file
View 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