linux-tools/start.sh

13 lines
315 B
Bash
Executable File

#!/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
python3 main.py helloworld run
else
python3 main.py "$@"
fi