flask-server/configure.sh
2024-10-08 19:26:26 +02:00

11 lines
232 B
Bash

if [ ! -d env ]; then
python -m venv env
source env/bin/activate
python -m pip install -r requirements.txt
fi
if [ ! -f movielist.sqlite ]; then
source env/bin/activate
python -m flask --app kinolist init-db
fi