From 2f5f2cffd853e523e64b5ed3adeef62a9c2079f5 Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Thu, 5 Mar 2020 21:27:48 +0100 Subject: [PATCH] Implement start.sh --- start.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) mode change 100644 => 100755 start.sh diff --git a/start.sh b/start.sh old mode 100644 new mode 100755 index e69de29..e088e61 --- a/start.sh +++ b/start.sh @@ -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 \ No newline at end of file