MonkeyBusiness/start.sh
2023-10-28 23:44:56 +00:00

20 lines
246 B
Bash

#!/bin/bash
ver="3.12"
py="python$ver"
if ! command -v $py &> /dev/null
then
echo "$py not found"
exit
fi
if [ ! -d .venv/ ]
then
$py -m venv .venv
fi
source .venv/bin/activate
$py -m pip install -r requirements.txt
$py pyeamu.py