12 lines
163 B
Bash
12 lines
163 B
Bash
#!/bin/bash
|
|
set -e
|
|
cd "$(dirname "$0")"
|
|
|
|
if [ ! -d venv ]; then
|
|
python3 -m venv venv
|
|
fi
|
|
|
|
source venv/bin/activate
|
|
pip install -r requirements.txt
|
|
python main.py
|